ResourceGroups.Add method (Project)

Adds a Group object to a ResourceGroups collection.

Syntax

expression.Add (Name, FieldName)

expression A variable that represents a 'ResourceGroups' object.

Parameters

Name Required/Optional Data type Description
Name Required String The name of a group definition.
FieldName Required String The name of the first field to group by.

Return value

Group

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.