Hi,
Is ther a way to lock/ unlock multiple sheets at a time (same password)
Once again No. But you can loop through them and do it. Alt+f11 to open
vbeditor. Right click 'ThisWorkbook' and insert module and paste the code
below in.
Change this line
S = "Sheet1,Sheet2,Sheet3"
to contain the names off all the sheet to unlock. Run the code and your done
Sub Sonic()
Dim ws As Worksheet
Dim V As Variant
Dim S As String
S = "Sheet1,Sheet2,Sheet3"
V = Split(S, ",")
For Each ws In ThisWorkbook.Worksheets
If Not IsError(Application.Match(ws.Name, V, 0)) Then
ws.Unprotect Password:="MyPass"
End If
Next
End Sub
--
Mike
When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.