Before Close Event in Outlook

Is there any object in Outlook with an event that I could use to catch the application before closing with option to cancel?

Mike
shachoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

shachoAuthor Commented:
I should add that I do have Redemption installed.
bruintjeCommented:
Hello shacho,

there is no direct close event, but first why would you cancel a close?

bruintje

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David LeeCommented:
Greetings, shacho.

There is the Quit event of the Application object, but it can't be cancelled.  It's there so any VBA code can be closed out and cleaned up before Outlook shuts down.

Cheers!
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

shachoAuthor Commented:
It's quite silly actually.  My boss is complaining that when he closes the main Outlook explorer all of his open Outlook windows go with it, so he wants a confirm on close dialog to pop up before the application quits.  Yes - I know - this is a truly stupid quest.  Bu I can't say to him, "How about learning how to use the application correctly instead?".  Any suggestions?

Mike
David LeeCommented:
Not too silly.  I've complained more than once about the fact that Outlook doesn't ask if you're sure like many other apps do.  It just closes.  I've no suggestions though.  
shachoAuthor Commented:
Thanks for your input.

Cheers,

Mike
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.