Hi there ,
I'd like to save a new added workbook and overwrite an existing file on the HD.
I have a file named c:\barcodes.xls"
The code below gives me a prompt :
"A file named 'C:\barcodes.xls' already exists in this location.Do you want to replace it?"
Is there a way or workaround to save the file without the prompt.?![]()
New_file_name = "C:\barcodes.xls" ActiveWorkbook.SaveAs Filename:=New_file_name, FileFormat:=xlNormal
Thanks for helping me out.
Bookmarks