You could provide your own macro (and a way to run it) that does the work.
Disable the workbook_beforeclose event or at the application level.
Option Explicit
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Cancel = True
MsgBox "Please use my method to close this workbook"
End Sub
I think Jan Karel Pieterse wrote a very intricate way to catch this kind of
stuff...
I couldn't find it, but you may want to look:
http://www.jkp-ads.com/
Good luck.
NA_AB wrote:
>
> hey dave..exactly, i can use workbookbefore close, but, this event is fired
> as soon as he clicks the (X) and "only after" the event is handled, the user
> will see the pop-up which asks him.. "Do you want to save
> changes..Yes..No..Cancel". I basically want to do two different things when
> he chooses a Yes or a No. How can I ever know whether he has chosen a Yes/ a
> No?(/ a Cancel)... Basically I need something like..
> WorkbookAfterSave...which is not present in the workbookevents.
>
> Regards.
--
Dave Peterson