ResourceGroups2.Copy method (Project)

Makes a copy of a group definition for the ResourceGroups2 collection and returns a reference to the Group2 object.

Syntax

expression.Copy (Name, NewName)

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

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.