ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save on closing file (https://www.excelbanter.com/excel-programming/362672-save-closing-file.html)

ewagz

Save on closing file
 
All-
I am looking for code that will save a file automatically when the user
closes the file. This file has no macro and I would like to use this code on
multiple files. What do you suggest?

Thanks in advance!
--
EW - Analyst

Tom Ogilvy

Save on closing file
 
Look at Application Level Events

http://www.cpearson.com/excel/appevent.htm

You would use the beforesave event.

--
Regards,
Tom Ogilvy

"ewagz" wrote in message
...
All-
I am looking for code that will save a file automatically when the user
closes the file. This file has no macro and I would like to use this code

on
multiple files. What do you suggest?

Thanks in advance!
--
EW - Analyst





All times are GMT +1. The time now is 05:01 PM.

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