Filters.Copy method (Project)

Makes a copy of a group definition for the Filters collection and returns a reference to the Filter object.

Syntax

expression.Copy (Source, NewName)

expression A variable that represents a 'Filters' object.

Parameters

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

Return value

Filter

See also

Filters 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.