ProtectContents Property Example
This example displays a message box if the contents of Sheet1 are protected.
If Worksheets("Sheet1").ProtectContents = True Then MsgBox "The contents of Sheet1 are protected." End If