Project.ResourceGroupList property (Project)
Gets a List object representing the resource groups in the active project. Read-only List.
expression. ResourceGroupList
expression A variable that represents a Project object.
The following example lists all the resource filters in the active project.
Sub SeeAllResGroups()
Dim Temp As Variant
Dim ResGroupNames As String
For Each Temp In ActiveProject.ResourceGroupList
ResGroupNames = ResGroupNames & vbCrLf & Temp
Next Temp
MsgBox ResGroupNames
End Sub
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.