TaskGroups.Copy method (Project)

Makes a copy of a group definition for the TaskGroups collection and returns a reference to the Group object.

Syntax

expression.Copy (Name, NewName)

expression A variable that represents a 'TaskGroups' object.

Parameters

Name Required/Optional Data type Description
Name Required String The name of the group to copy.
NewName Required String The name of the new group.

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.