Create an ordinary module and move the code to it.
You may need to refer to https://www.gmayor.com/create_and_em...gital_cert.htm in some versions of Outlook or the security will inhibit the macro.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|