If you modify your code to call the function at Test if Outlook is open and open Outlook with VBA then Outlook should always be opened correctly regardless of whether it is running or not.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|