within a macro how can I suppress the warning pop "A file named xxxx.xls already exists in this loca

P

Pete McCosh

Kevin,

Application.displayalerts=false

Activeworkbook.saveas filename:="C:\SameName.xls"

Application.displayalerts=true
-----Original Message-----
Within a macro how can I suppress/omit the warning pop "A
file named xxxx.xls already exists in this location. Do
you 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

Top