title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Project.ReportList property (Project) |
project-server |
|
0c688797-21cc-eaa0-0ebf-95e1e053f222 |
06/08/2017 |
medium |
Deprecated in Project.
expression. ReportList
expression A variable that represents a Project object.
In Project, the ReportList property returns Nothing. In Project, the ReportList property gets a List object representing the reports in the active project.
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
[!includeSupport and feedback]