program to close Outlook if opened

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to install an Outlook add-on for users via SMS package but it requires
Outlook to be closed first. How can I create a program (vb script or batch)
to close Outlook if it's running? Any sample I can use?

Thanks,
 
Use GetObject to see if you get an instance of a running Outlook object. If
you do then call the Quit method on the object you get back from GetObject.
 
Back
Top