Q: overwrite during saveas

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

Guest

I use ActiveWorkbook.SaveAs desFile in my module and I need to get this work
without prompt even if the file exists
 
Try

application.displayalerts = false
ActiveWorkbook.SaveAs desFile
application.displayalerts = true


Regards,

Peo Sjoblom
 

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