T
TPJoseph
Can someone please provide an example of VBA Code to check if MSOutlook is
open?
Thanks,
Tom
open?
Thanks,
Tom
Mike H said:Hi,
Try this
Sub TestOutlook()
On Error Resume Next
Set oOutLook = GetObject(, "Outlook.Application")
If oOutLook Is Nothing Then
MsgBox "Outlook isn't open"
End If
End Sub
Mike
Jacob Skaria said:Check out the below link to handle this and open outlook if not
http://www.ozgrid.com/forum/showthread.php?t=73886