Hi,
I have a macro written, and I when it starts I would like it to unprotect the sheet, then at the end protect the sheet with a password. Currently I have this to unprotect:
and to protect the sheet at the end I have![]()
ActiveSheet.Unprotect
But how do I create a macro to protect the sheet using a password?![]()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
Thanks
KC
Bookmarks