View Single Post
 
Old 11-23-2019, 01:33 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

As a rule of thumb, it is preferable to use the function at Test if Outlook is open and open Outlook with VBA to open Outlook, whether it is running or not, however presumably your co-worker has defined ool as an Object?
Code:
Dim ool as Object
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote