Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I have several macros that bring up a text file, format it, and the save it as an Excel file. If the macro has been run before, and th Excel file is already there, I am prompted with a message that the fil already exists, do I want to replace it? How do I get the macro to replace the file without prompting? I hav lived with this for quite some time, and when I have a large number o files, this gets quite aggravating!! Thanks, Don Newto -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Before the line of code that saves the file place this line:
Application.DisplayAlerts = False and after the file saving line place: Application.DisplayAlerts = True -- Message posted from http://www.ExcelForum.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
kkknie,
Absolutely fantastic!! It worked perfectly. I can't tell you what timesaver this will be. Thanks! -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
No Save Prompt dialog box when existing (V2003) | Excel Discussion (Misc queries) | |||
Importing text file, only option to edit existing file | Excel Discussion (Misc queries) | |||
Prompt user to select file with default file selected dialog | Excel Programming | |||
Prompt user to select file with default file selected dialog | Excel Programming | |||
Prompt user to select file with default file selected dialog | Excel Programming |