Share via


Project.ReportList Property

Project Developer Reference

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

Syntax

expression.ReportList

expression   A variable that represents a Project object.

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

Visual Basic for Applications
  Sub SeeAllReports()
Dim Temp As Variant
Dim ReportNames As String

For Each Temp In ActiveProject.<strong class="bterm">ReportList</strong>
    ReportNames = ReportNames &amp; vbCrLf &amp; Temp
Next Temp

MsgBox ReportNames

End Sub

See Also