Some of the functions that we want our macros to accomplish are not possible without first unprotecting the worksheet/workbook with the password?

Submitted by: Administrator
Worksheets("MySheet").Unprotect password:="drowssap"
'your code here
Worksheets("MySheet").Protect password:="drowssap"

Be sure to protect your macro code to hide the sheet password.
Submitted by: Administrator

Read Online Microsoft Excel Job Interview Questions And Answers