Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm writing a macro that opens several workbooks, transforms them and then
saves them as a text files. The problem is that I need the same files overwritten, and when I use the line below, I get a message saying that a file with the same name already exists and asks if I want to replace it, which means that I can't automate the process because I have to click on 'yes' after each file is ready. Is there a way to automate this? ActiveWorkbook.SaveAs Filename:= strPath & "\" & strFileName(i) & ".txt", FileFormat:=xlText Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text Overwriting next empty cell | Excel Discussion (Misc queries) | |||
Program Auto Yes for overwriting files | Excel Programming | |||
Overwriting error message #NUM! with meaningful text | Excel Discussion (Misc queries) | |||
Automatically overwriting files | Excel Programming | |||
excel97 vba to append lines to text file overwriting last 2 lines | Excel Programming |