Detecting a cancel on Workbook_BeforeClose event?
Don,
How about removing the toolbar in Workbook_Deactivate, and restore it in
Workbook_Activate as well as workbook_Open?
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Don Wiss" wrote in message
...
Can I detect when a user selects cancel in a BeforeClose event? It appears
to me that the event has already been run when the user is asked if they
want to save, not save, or cancel. I don't see an AfterCancel event.
This as the BeforeClose is removing my Toolbar and I'd like to put it back
after a cancel.
Don <donwiss at panix.com.
|