Saving an Excel File

  • Thread starter Thread starter Bob Mignault
  • Start date Start date
B

Bob Mignault

I use "ActiveWorkbook.Save" to save the Excel worksheet as I exit the
program.

In code, how can I prevent the system from advising that the file already
exists and asking if I want to replace the existing file?

Regards,

Bob Mignault
 
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs (etc.)

best wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Unexpected file change 4
Search orkbook 2
Excell 2021 0
Save failing 2
Excel document not saving 3
automation error when closing excel 3
GetSaveAsFilename X & ActiveWorkbook.SaveAs X 2
File handling 2

Back
Top