title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Project.ResourceViewList property (Project) |
project-server |
|
d0acf85f-8a07-714d-614f-a18645177f40 |
06/08/2017 |
medium |
Gets a List object representing all resource views in the active project. Read-only List.
expression. ResourceViewList
expression A variable that represents a Project object.
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
[!includeSupport and feedback]