共用方式為


Active Cell (Layers Section)

Specifies whether the layer is active. Shapes without pre-assigned layers are assigned to the active layer(s) when you drag them onto the drawing page.

Value

Description

TRUE

Layer is active.

FALSE

Layer is not active.

Remarks

The value in this cell corresponds to the Active setting in the Layer Properties dialog box (in the Editing group on the Home tab, click Layers, and then click Layer Properties).

To get a reference to the Active cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

Layers.Active[i]
where i = <1>, 2, 3...

To get a reference to the Active cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionLayer

Row index:

visRowLayer + i
where i = 0, 1, 2...

Cell index:

visLayerActive