Share via


OLEObjects.Locked Property

Excel Developer Reference

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