Unprotect all sheets
Try this as a workbook module and a second one with the line
ActiveSheet.Protect Password:="zzz"
to re-protect
Sub stance()
Dim wSheet As Worksheet
For Each wSheet In Worksheets
wSheet.Select
ActiveSheet.unProtect Password:="zzz"
Next wSheet
End Sub
Mike
"ADK" wrote:
How do I unprotect all sheets (all with same password) and then after code
is done, protect all sheets with same password?
|