Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Can someone please provide an example of VBA Code to check if MSOutlook is open? Thanks, Tom |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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 "TPJoseph" wrote: Can someone please provide an example of VBA Code to check if MSOutlook is open? Thanks, Tom |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Mike.
"Mike H" wrote: 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 "TPJoseph" wrote: Can someone please provide an example of VBA Code to check if MSOutlook is open? Thanks, Tom |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Check out the below link to handle this and open outlook if not http://www.ozgrid.com/forum/showthread.php?t=73886 -- If this post helps click Yes --------------- Jacob Skaria "TPJoseph" wrote: Can someone please provide an example of VBA Code to check if MSOutlook is open? Thanks, Tom |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Jacob.
"Jacob Skaria" wrote: Check out the below link to handle this and open outlook if not http://www.ozgrid.com/forum/showthread.php?t=73886 -- If this post helps click Yes --------------- Jacob Skaria "TPJoseph" wrote: Can someone please provide an example of VBA Code to check if MSOutlook is open? Thanks, Tom |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ON OPEN VBA Code input incorrectly now excel sheet wont open | New Users to Excel | |||
Fix code - check to see if a workbook is open, if so, save changes then close. | Excel Programming | |||
Code to check if word doc is already open | Excel Programming | |||
Macro for excel & msoutlook | Excel Programming | |||
VBA code to check if another window is open? | Excel Programming |