How can I secure all tabs in excel 2003 at once?

M

marisca

I have made a lot of tabs en secured them. When I want to change something I
have to unsecure the tabs one by one. I would like to secure and unsecure
them all together if possible.
 
E

EdMac

Hi Marisca,

Download ASAP utilities (free) from asap-utilities.com. This shoul
enable you to do what you want.

E
 
G

Gord Dibben

Use a macro.

Sub ProtectAllSheets()
Application.ScreenUpdating = False
Dim n As Single
For n = 1 To Sheets.Count
Sheets(n).Protect Password:="justme"
Next n
Application.ScreenUpdating = True
End Sub

Sub UnprotectAllSheets()
Application.ScreenUpdating = False
Dim n As Single
For n = 1 To Sheets.Count
Sheets(n).Unprotect Password:="justme"
Next n
Application.ScreenUpdating = True
End Sub


Gord Dibben MS Excel MVP
 
Top