Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dolphinv4
 
Posts: n/a
Default Disable Dialogue Box To Save & Replace File

Hi,

I'd like to have a macro to NOT have excel ask me if I want to replace the
existing file when i save, ie, when I save a file and there's already one in
the folder, I want excel to just overwrite the file without having a dialogue
box asking me if I want to overwrite the existing file. Is it possible?

Regards,
Dolphin
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default Disable Dialogue Box To Save & Replace File

Hi, Fish. :) Dave Hawley has an article he
http://www.ozgrid.com/VBA/prevent-save-prompt.htm
************
Anne Troy
www.OfficeArticles.com

"Dolphinv4" wrote in message
...
Hi,

I'd like to have a macro to NOT have excel ask me if I want to replace the
existing file when i save, ie, when I save a file and there's already one
in
the folder, I want excel to just overwrite the file without having a
dialogue
box asking me if I want to overwrite the existing file. Is it possible?

Regards,
Dolphin



  #3   Report Post  
mudraker
 
Posts: n/a
Default Disable Dialogue Box To Save & Replace File


Dolphin

Try

Application.DisplayAlerts = False
save file
Application.DisplayAlerts = True


--
mudraker
------------------------------------------------------------------------
mudraker's Profile: http://www.excelforum.com/member.php...fo&userid=2473
View this thread: http://www.excelforum.com/showthread...hreadid=478670

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
Links picking up values from an older version of linked file Cate Links and Linking in Excel 4 October 20th 05 01:53 PM
How to set SAVE AS file name to equal A1 contents when rename file E Excel Discussion (Misc queries) 0 October 19th 05 08:36 PM
Macro to auto save file using the format YYMM Dolphinv4 Excel Discussion (Misc queries) 1 September 29th 05 04:09 AM
how to reference external refereces from a list FalconArt Excel Worksheet Functions 7 August 22nd 05 05:17 PM
save excel file from a table delimited file (.txt) using macros sedamfo New Users to Excel 1 February 15th 05 04:19 AM


All times are GMT +1. The time now is 08:16 PM.

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

About Us

"It's about Microsoft Excel"