T
T
This is what I am trying to accomplish, however I get an
error when the macro hits password. I want my macro to
lock all the worksheets in an excel file when I run it.
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True, Password:=xxxx, Password:=xxxx
error when the macro hits password. I want my macro to
lock all the worksheets in an excel file when I run it.
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True, Password:=xxxx, Password:=xxxx