SaveAs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want VBA to save a file using SaveAs and have it replace an existing file. How do I make it not display the dialog box telling me that the file already exists and asking if I want to replace it
 
Bill

Application.DisplayAlerts = False
' your code
Application.DisplayAlerts = True

Regards

Trevor


Bill said:
I want VBA to save a file using SaveAs and have it replace an existing
file. How do I make it not display the dialog box telling me that the file
already exists and asking if I want to replace it?
 

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

Back
Top