Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to Save File to specific location when closing paankadu Excel Discussion (Misc queries) 3 October 26th 09 11:52 PM
prompt to save when closing file granty Excel Discussion (Misc queries) 2 December 11th 07 09:46 AM
How to skip the save file notoification on file closing? Dan Excel Worksheet Functions 1 August 19th 07 02:26 PM
Prompt for Save when closing a file J. Kerr Excel Discussion (Misc queries) 0 October 5th 05 09:09 PM
how to disable save prompt on closing excel file in automated mode [email protected] Excel Discussion (Misc queries) 3 July 6th 05 10:35 PM


All times are GMT +1. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"