Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

isProtected? 1

Status
Not open for further replies.

venkman

Programmer
Oct 9, 2001
467
US
Is there a function/method that returns a boolean to tell you if a sheet is protected?

-Venkman
 
You can use the ProtectContents property:

MsgBox Sheet1.ProtectContents
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top