共用方式為


Lock Cell (Layers Section)

Specifies whether shapes belonging to the layer are locked against being selected or edited.

Value

Description

TRUE

Shapes are locked.

FALSE

Shapes are not locked.

Remarks

You can also set this value by selecting Lock in the Layer Properties dialog box (on the Home tab, in the Editing group, click Layers, and then click Layer Properties).

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

Cell name:

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

To get a reference to the Lock 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:

visLayerLock