Wow - thank you
----- Gord Dibben wrote: ----
Lis
Cannot be done by grouping sheets. VBA required. The code below wil
protect/unprotect all sheets. To protect/unprotect just certain sheet use th
code below the ***************** line
Sub ProtectAllSheets(
Application.ScreenUpdating = Fals
Dim n As Singl
For n = 1 To Sheets.Coun
Sheets(n).Protect Password:="justme
Next
Application.ScreenUpdating = Tru
End Su
Sub UnprotectAllSheets(
Application.ScreenUpdating = Fals
Dim n As Singl
For n = 1 To Sheets.Coun
Sheets(n).Unprotect Password:="justme
Next
Application.ScreenUpdating = Tru
End Su
*********************************************************
Sub Protect_SomeSheets(
Dim sht As Workshee
For Each sht In Sheets(Array("Sheet1", "Sheet2", "Sheet9", "Sheet11")
sht.Protect Password:="justme
Next sh
End Su
Sub UnProtect_SomeSheets(
Dim sht As Workshee
For Each sht In Sheets(Array("Sheet1", "Sheet2", "Sheet9", "Sheet11")
sht.UnProtect Password:="justme
Next sh
End Su
You will have to edit the Sheets(Array names to suit
Gord Dibben Excel MV
On Fri, 30 Jan 2004 16:36:09 -0800, "Lisa Williams