View Single Post
  #2  
Old May 18th 06, 01:09 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How do I tell when a user has cancelled changes on an Outlook form?

If you put MsgBox statements into the different event handlers, you can see what events fire in what order. In the scenario you describe, the only event you'll get is Close.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Anne" wrote in message oups.com...
I have a custom Outlook form. I need to know when a user decides to
cancel the changes they have made to the form by hitting the top RHS X
button then selecting "no" when prompted to save changes.

Is this possible?

Ads