View Single Post
  #2  
Old April 21st 08, 01:55 PM posted to microsoft.public.outlook
gamul
external usenet poster
 
Posts: 9
Default How to run a batch file wen you close Outlook


"Vince Averello [MVP-Outlook]"
...
There's a possibility that you could add code to the Application_Quit()
event in the VBA editor but you'd still have to code it yourself

"gamul" wrote in message
...
Doesn't Outlook have the built-in function of starting scripts during
closing?


So as recommended me user Gordon (in different thread) I wrote VBA script,
which copies files .PST to or from net.
I would like to start this script every time when user logs in to computer
as well as when Outlook switches off.

There's a possibility that you could add code to the Application_Quit()

Please, continue with this think.


Ads