H
Harold M Little
I open a Word template from with in Outlook.
The template that has a Public Sub named ClosePreview,
I use this macro to close the Word application by calling Quit
wddonotsavechanges,
this works fine when user clicks the built-in Close button.
If user clicks the X in upper right side my macro will not execute.
Can some one please advise how to trap the event associated with clicking
the "X",
my goal is to close and quit Word with out saving any changes.
Thank you
The template that has a Public Sub named ClosePreview,
I use this macro to close the Word application by calling Quit
wddonotsavechanges,
this works fine when user clicks the built-in Close button.
If user clicks the X in upper right side my macro will not execute.
Can some one please advise how to trap the event associated with clicking
the "X",
my goal is to close and quit Word with out saving any changes.
Thank you