Groups Object (Project)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a collection of Group objects.

For groups where the group hierarchy can be maintained and cell color can be a hexadecimal value, use the Groups2 collection object.

Use TaskGroups(Index) or ResourceGroups(Index), where Index is the group definition index or group definition name, to return a Group object.

The following example ensures that the Standard Rate resource group displays summary task information.

ActiveProject.ResourceGroups("Standard Rate").ShowSummary = True