ViewList Property
Returns a List object representing all views in the active project. Read-only.
Example
The following example lists all the views in the active project.
Sub SeeAllViews()
Dim Temp As Variant
Dim ViewNames As String
For Each Temp In ActiveProject.ViewList
ViewNames = ViewNames & vbCrLf & Temp
Next Temp
MsgBox ViewNames
End Sub
Applies to | Project Object, Projects Collection Object
See Also | CurrentView Property | ReportList Property | ResourceFilterList Property | ResourceTableList Property | ResourceViewList Property | TaskFilterList Property | TaskTableList Property | TaskViewList Property