ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   unprotect sheets (https://www.excelbanter.com/excel-worksheet-functions/57272-unprotect-sheets.html)

BC@D

unprotect sheets
 
How do I unprotect multiple sheets at once so I can do group changes?

Paul B

unprotect sheets
 
Here is one way,

Sub Unprotect_All_Sheets()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
ws.Unprotect password:=""
Next ws
End Sub


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"BC@D" wrote in message
...
How do I unprotect multiple sheets at once so I can do group changes?





All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com