Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Closing Event
I'm currently building a VB app that creates an instance of Excel. When Excel is closed by the user (not via the app) I'd like to clean up some stuff in Excel, like removing toolbars and button-overrides, so that when Excel is started without the app it looks normal again
But so far I have found nothing in Excel that gives a reliable indication when it is being closed. The BeforeClose event is useless because it can be canceled by user action. And unfortunately it is not called in xla's where it would help. I also tried using a class inside an xla that stays 'in the air' all the time. Unfortunately it's terminate event is not being called when Excel shuts down, comparable to the 'End' button in VB Can anyone help me solve this problem TIA, Jerry |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Closing workbooks w/o closing Excel | Excel Discussion (Misc queries) | |||
Event on opening/closing groupings in VBA | Excel Discussion (Misc queries) | |||
closing excel after closing a workbook | Excel Programming | |||
change event/after update event?? | Excel Programming | |||
OnTime event not firing in Workbook_Open event procedure | Excel Programming |