Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default "Save file before closing"

Using Excel 2007 on Windows XP: Monthly I select hundreds of Excel files from
Windows Explorer, right click and select Print. It would open an Excel file,
print it, close it and repeat for the next file. I could go home for the
evening, and the hard copies would be on my printer when I came in the next
morning. I am now getting a prompt asking if I want to save the file before
closing it. This means I have to be present and respond for every file it
opens. How can I disable this prompt?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default "Save file before closing"

Sounds like at least one of the files has a volatile function such as:
=NOW()

Possible workaround:
Open XL, change calculation mode to manual (Tools-Options-Calculation), then
open all the files and print. This would prevent Volatlite functions from
recalculating.

On the other hand, if you wrote a macro to open & print all your files, the
command code needed at the beginning would be:
Application.DisplayAlerts = False
--
Best Regards,

Luke M
"mkilbour" wrote in message
...
Using Excel 2007 on Windows XP: Monthly I select hundreds of Excel files
from
Windows Explorer, right click and select Print. It would open an Excel
file,
print it, close it and repeat for the next file. I could go home for the
evening, and the hard copies would be on my printer when I came in the
next
morning. I am now getting a prompt asking if I want to save the file
before
closing it. This means I have to be present and respond for every file it
opens. How can I disable this prompt?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 126
Default "Save file before closing"

When you close each workbook, use something like...

application.ActiveWorkbook.Close savechanges:=False

--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"mkilbour" wrote:

Using Excel 2007 on Windows XP: Monthly I select hundreds of Excel files from
Windows Explorer, right click and select Print. It would open an Excel file,
print it, close it and repeat for the next file. I could go home for the
evening, and the hard copies would be on my printer when I came in the next
morning. I am now getting a prompt asking if I want to save the file before
closing it. This means I have to be present and respond for every file it
opens. How can I disable this prompt?

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
Selecting "Save As" adds "Copy of" to file name- MS Excel 2007 ronhansen Excel Discussion (Misc queries) 1 November 15th 09 09:33 PM
Opening and Closing a "EXE" file within Excel Steve Excel Discussion (Misc queries) 1 October 23rd 07 03:18 PM
"Save" and "Save As" options greyed out - "Save as Webpage" option Bill Excel Discussion (Misc queries) 0 January 16th 07 04:47 PM
Disabling "SAVE AS" option under "File" Bidyut Bhattacharjee Excel Discussion (Misc queries) 3 March 22nd 06 06:35 PM
excel 02 always asks "save changes?" when closing unaltered file 6foot6 Excel Discussion (Misc queries) 1 February 16th 06 07:41 PM


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

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"