ResourceGroups2.Add method (Project)

Adds a Group2 object to a ResourceGroups2 collection.

Syntax

expression.Add (Name, FieldName)

expression An expression that returns a 'ResourceGroups2' 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

Group2

See also

ResourceGroups2 Collection Object

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.