Project.ResourceViewList Property

Project Developer Reference

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



expression   A variable that represents a Project object.

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

Visual Basic for Applications
  Sub SeeAllResViews()
Dim Temp As Variant
Dim ResViewNames As String

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

MsgBox ResViewNames

End Sub

See Also