Excel Macro Sheet Protect Password. Since the password must be supplied once to apply protection in the first place, run this code from a seperate workbook or addin you keep to yourself. If you would like to post, please check out the MrExcel Message Board FAQ and click here to register.
A specific command or keywords need to be typed in to create a macro in Excel.
There is nothing worse than when somebody, who doesn't know what they're doing Adding a password to give an extra layer of protection is easy enough with VBA.
This works to unlock a protected sheet that has been locked with a password, but it doesn't unlock a password protected file, which involves strong encryption. Once in VBA double click the sheet you need to unlock from Excellent help. I was able to unprotect my worksheet which got protected unknowingly.








