Active Cell (Layers Section) [Visio 2003 SDK Documentation]

Specifies whether the layer is active. Shapes without pre-assigned layers are assigned to the active layer(s) when dropped on the drawing page.

Value Description

TRUE

Layer is active.

FALSE

Layer is not active.

Remarks

The value in this cell corresponds to the Active option in the Layer Properties dialog box (click Layer Properties on the View menu).

To reference 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 reference 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