Style.Locked property (Excel)
Returns or sets a Boolean value that indicates if the object is locked.
Syntax
expression.Locked
expression A variable that represents a Style object.
Remarks
This property returns True if the object is locked or False if the object can be modified when the sheet is protected.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.