D
Dave
Is there an simpler way to protect and un protect work sheets? This is how I
did it.
Thanks
Sub Protect()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
Sheets("Sheet1").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
Sheets("Sheet2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
Sheets("Sheet3").Select
End Sub
-------------------------------------------
Sub UnProtect()
Sheets("Sheet1").Select
ActiveSheet.UnProtect
Sheets("Sheet2").Select
ActiveSheet.UnProtect
Sheets("Sheet3").Select
End Sub
did it.
Thanks
Sub Protect()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
Sheets("Sheet1").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
Sheets("Sheet2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
Sheets("Sheet3").Select
End Sub
-------------------------------------------
Sub UnProtect()
Sheets("Sheet1").Select
ActiveSheet.UnProtect
Sheets("Sheet2").Select
ActiveSheet.UnProtect
Sheets("Sheet3").Select
End Sub