B
Bruce Bates
Please help, I'm trying to save a worksheet to a CSV file. The following
code works but requires the user to select "Yes"to replace the existing
file. What do I need to include to automatically overwrite the file with the
new one.
Thanks for any help.
Bruce Bates
ActiveWorkbook.SaveAs Filename:="Ngatapa", FileFormat:= _
xlCSV, CreateBackup:=False
ActiveWorkbook.Saved = True
ActiveWorkbook.Close
code works but requires the user to select "Yes"to replace the existing
file. What do I need to include to automatically overwrite the file with the
new one.
Thanks for any help.
Bruce Bates
ActiveWorkbook.SaveAs Filename:="Ngatapa", FileFormat:= _
xlCSV, CreateBackup:=False
ActiveWorkbook.Saved = True
ActiveWorkbook.Close