A Boolean value. Specifies whether the layer is locked.
Applies to objects: Layer
[[Let] RetVal = ] object.Locked [Let] object.Locked = SetVal |
The Locked property syntax has these parts:
Part | Description |
object | A reference to an instance of the object. |
RetVal | A Boolean type variable. |
SetVal | A Boolean type value. |
If Locked is TRUE, you won't be able to edit shapes on this layer. You can set the Locked property to TRUE only when the layer is not active.
Dim MyLayer as Layer |
See Also |
Layer Object, Document Object |