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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sheet Protection

Status
Not open for further replies.

samato

Technical User
Apr 26, 2003
37
US
Excel 2000 - If I grab a group of sheets, can I protect them all without having to protect each one?
 

Protect only seems to apply to a sheet and not to a collection of sheets so looks like the next best thing is:

Dim sh As Worksheet
For Each sh In Worksheets(Array("Sheet1", "Sheet3"))
sh.Protect
Next sh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top