R
Rich Wallace
Hi all,
I have a workbook that contains code to run on Workbook_BeforeClose and also
some code on Sheet1 that executes Worksheet_Change.
If the user opens my workbook from an existing running instance of Excel, I
catch the changes I need from my Worksheet_Change but if the user closes the
Excel app, and not the workbook itself, my Workbook_BeforeClose event is
never fired. Is there a way from within my ThisWorkbook module I can trap
for an Applciation.Quit event and still run the code I process for the
Workbook_BeforeClose event?
TIA
-Rich
I have a workbook that contains code to run on Workbook_BeforeClose and also
some code on Sheet1 that executes Worksheet_Change.
If the user opens my workbook from an existing running instance of Excel, I
catch the changes I need from my Worksheet_Change but if the user closes the
Excel app, and not the workbook itself, my Workbook_BeforeClose event is
never fired. Is there a way from within my ThisWorkbook module I can trap
for an Applciation.Quit event and still run the code I process for the
Workbook_BeforeClose event?
TIA
-Rich