D
Dan Winterton
I am getting an error message when I try to use VBA code
to unprotect a worksheet. The code is simple:
Sheets("sheetname").Select
ActiveSheet.Unprotect
There is no password assigned. But I get an
error: "Unprotect method of worksheet class failed."
What am I doing wrong? Any ideas? I have no problem
protecting a worksheet with VBA code (ActiveSheet.Protect
DrawingObjects:="True"... etc...)
Any help is greatly appreciated.
Dan
to unprotect a worksheet. The code is simple:
Sheets("sheetname").Select
ActiveSheet.Unprotect
There is no password assigned. But I get an
error: "Unprotect method of worksheet class failed."
What am I doing wrong? Any ideas? I have no problem
protecting a worksheet with VBA code (ActiveSheet.Protect
DrawingObjects:="True"... etc...)
Any help is greatly appreciated.
Dan