ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   run macro when closing file (https://www.excelbanter.com/excel-programming/382223-run-macro-when-closing-file.html)

santee

run macro when closing file
 
I need a maacro to turn off autofilters when file is closed.

Don Guillett

run macro when closing file
 
Look in the ThisWorkbook module for before_close

--
Don Guillett
SalesAid Software

"santee" wrote in message
...
I need a maacro to turn off autofilters when file is closed.




Tom Ogilvy

run macro when closing file
 
Use the workbook beforeclose event

http://www.cpearson.com/excel/events.htm
for an overview of events.

--
Regards,
Tom Ogilvy


"santee" wrote:

I need a maacro to turn off autofilters when file is closed.



All times are GMT +1. The time now is 10:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com