Outlook can be fussy about macro security and it seems probable that your system's macro settings may be blocking the code. One possibility is to use selfcert.exe (in the Outlook application folder) and use it to digitally sign the macro project (from the VBA editor - Tools > Digital Signature.)
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|