ProtectDrawingObjects Property

Applies To

Chart Object, DialogSheet Object, Worksheet Object.

Description

True if the drawing objects of a sheet are protected. On a dialog sheet, this protects the layout of the controls. Read-only.

See Also

Locked Property, Protect Method, ProtectContents Property, Unprotect Method.

Example

This example displays a message box if the drawing objects on the active sheet are protected.


If Worksheets("Sheet1").ProtectDrawingObjects = True Then
    MsgBox "The drawing objects on Sheet1 are protected."
End If