Thread
:
Why would GetObject(, "Outlook.Application") fail?
View Single Post
11-23-2019, 01:33 AM
gmayor
Windows 10
Office 2016
Expert
Join Date: Aug 2014
Posts: 4,144
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
gmayor
View Public Profile
Find all posts by gmayor