Project.ReportList property (Project)

Deprecated in Project.

Syntax

expression. ReportList

expression A variable that represents a Project object.

Remarks

In Project, the ReportList property returns Nothing. In Project, the ReportList property gets a List object representing the reports in the active project.

Example

The following example lists all the reports in the active project (Project only).

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.