dont confirm save with yes/no/cancell

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

Guest

i got a macro to save as a workbook. it needs to overright an excisting
one. how do i get it not to ask/say i am about to overight?
 
Try this:

Before your save code:
Application.DisplayAlerts = False

After your save code:
Application.DisplayAlerts = True

HTH,
Paul
 
Application.DisplayAlerts = False
Activeworkbook.SaveAs . . .
Application.DisplayAlerts = True
 

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