Thanks, for that but I was hoping there would be a way to cleanly exit Outlook and other MS Office apps. My staff may have unsaved items open and killing the app is not the best approach.
That works great, programs close cleanly and if there is unsaved data in Excel it prompts for a save .. only thing is the save dialog box appears behind the program window not in front...
Is there a way to for the VB script to wait until the app is closed before running the remainder of the script... ??maybe some kind of IF statement that checks to see if the app is still running..?? then send a msgbox if it is still open..??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.