Unprotect groups

  • Thread starter Thread starter Ed Davis
  • Start date Start date
E

Ed Davis

Is there a way to unprotect a group rather than having to unprotect each
sheet individually?
 
One way:

Public Sub UnprotectGroups()
Const csPWORD As String = "drowssap"
Dim ws As Worksheet
For Each ws In ActiveWindow.SelectedSheets
ws.Unprotect Password:=csPWORD
Next ws
End Sub
 
I am assuming that the "drowssap" is the password for each sheet. Am I
correct?
 
Try spelling it in reverse for a hint.

I always thought JE was sending me a subliminal message to make me sleepy!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top