Les Laplace
New Member
Hello All,
Can anyone help me with the macro code for Excel VBA to show the "Unprotect" dialog box?
When I use "Activesheet Unprotect" the unprotect dialog box to enter the password appears nicely, but when I use "ActiveSheet Protect" the dialog box does not appear allowing the password to be entered. I would have to include the "Password:="xxx" parameter. I would rather not hardcode a password in the macro code.
Appreciate any help.
Thanks,
Les.
Can anyone help me with the macro code for Excel VBA to show the "Unprotect" dialog box?
When I use "Activesheet Unprotect" the unprotect dialog box to enter the password appears nicely, but when I use "ActiveSheet Protect" the dialog box does not appear allowing the password to be entered. I would have to include the "Password:="xxx" parameter. I would rather not hardcode a password in the macro code.
Appreciate any help.
Thanks,
Les.