Project.ResourceGroupList property (Project)

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

Syntax

expression. ResourceGroupList

expression A variable that represents a Project object.

Example

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

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.