J
John
How do I pretect sheets in such a way that users can input data but
can't change formulas, macros etc?
Thanks
John
can't change formulas, macros etc?
Thanks
John
Gord said:John
You can do it with 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