Project.ReportList Property (Project)

Gets a List object representing the reports in the active project. Read-only List.

Syntax

expression .ReportList

expression A variable that represents a Project object.

Example

The following example lists all the reports in the active project.

Sub SeeAllReports() 
 
 Dim Temp As Variant 
 Dim ReportNames As String 
 
 For Each Temp In ActiveProject.ReportList 
 ReportNames = ReportNames & vbCrLf & Temp 
 Next Temp 
 
 MsgBox ReportNames 
 
End Sub