Project.ResourceViewList property (Project)

Gets a List object representing all resource views in the active project. Read-only List.

Syntax

expression. ResourceViewList

expression A variable that represents a Project object.

Example

The following example lists all the resource views in the active project.

Sub SeeAllResViews() 
 
 Dim Temp As Variant 
 Dim ResViewNames As String 
 
 For Each Temp In ActiveProject.ResourceViewList 
 ResViewNames = ResViewNames & vbCrLf & Temp 
 Next Temp 
 
 MsgBox ResViewNames 
 
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.