TaskGroups.Add method (Project)
Adds a Group object to a TaskGroups collection.
Syntax
expression.Add (Name, FieldName)
expression A variable that represents a 'TaskGroups' 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.