Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 623
Default Save As without overwrite prompt

I want to overwrite an old file without getting prompted as to whether it's
OK.

Is there something I can specify on the SaveAs command? Or do I delete the
old file first (if it's there)?

--
Thanks,
Fred
Please reply to newsgroup, not e-mail



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Save As without overwrite prompt

Hi,

use the

application.displayalerts = false
thisworbook.save
application.displayalerts = true

--
Mucho gusto,

Cesar Zapata



Fred Smith wrote:
I want to overwrite an old file without getting prompted as to whether it's
OK.

Is there something I can specify on the SaveAs command? Or do I delete the
old file first (if it's there)?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Save As without overwrite prompt

a nitpick, but you shouldn't need that with save for a workbook that has
been previously saved, but as the OP specified SAVEAS

application.displayalerts = false
thisworbook.saveas . . .
application.displayalerts = true


--
Regards,
Tom Ogilvy

"Cesar Zapata" wrote in message
...
Hi,

use the

application.displayalerts = false
thisworbook.save
application.displayalerts = true

--
Mucho gusto,

Cesar Zapata



Fred Smith wrote:
I want to overwrite an old file without getting prompted as to whether

it's
OK.

Is there something I can specify on the SaveAs command? Or do I delete

the
old file first (if it's there)?




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
Save As / Overwrite Brent E Excel Discussion (Misc queries) 4 October 23rd 08 08:19 PM
getting rid of copy/overwrite prompt on Save John Collins Excel Discussion (Misc queries) 2 November 21st 06 11:59 PM
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
How to save a file without overwrite or save a copy? SettingChange Setting up and Configuration of Excel 1 November 3rd 05 02:10 AM
Prompt to overwrite Karen[_10_] Excel Programming 2 October 16th 03 08:24 PM


All times are GMT +1. The time now is 06:08 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"