OLEObject.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 OLEObject 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

OLEObject Object