Share via


OLEObjects.Locked Property (Excel)

Returns or sets a Boolean value that indicates if the object is locked.

Syntax

expression .Locked

expression A variable that represents an OLEObjects object.

Remarks

This property returns True if the object is locked or False if the object can be modified when the sheet is protected.

See Also

Concepts

OLEObjects Object Members

OLEObjects Object