What you ask is not possible. If you could do this it would open the door to no end of malicious actions. You would have to remove the protection before opening the document if you want your macro to run.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|