Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Lock Cell (Layers Section)
Collapse the table of content
Expand the table of content

Lock Cell (Layers Section)

Last modified: June 17, 2011

Applies to: Office 2013 | Visio 2013

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




Shapes are locked.


Shapes are not locked.

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:


Row index:

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

Cell index:


© 2015 Microsoft