Share

Sheet.ChangeLayer Method

Parent Object: Sheet

Description

Method that changes the associated layer for all the input objects.

Syntax

Sheet.ChangeLayer( Objects As ObjectCollection, Layer As Layer )

Parameters

Name Type Description
Objects ObjectCollection Input ObjectCollection containing the objects to change the layer of. All the objects should belong to the parent Sheet. The collection can contain any drawing object that has a layer associated with it.
Layer Layer Input Layer object that specifies the new layer to which the objects should be moved to.

Version

Introduced in version 2011

Was this information helpful?