How to acknowledge a message box from VB program?

  • Thread starter Thread starter Darwin
  • Start date Start date
D

Darwin

When deleting a sheet from VB program a message box pops
up and waits for acknowedgement. How can I
programmatically acknowledge (close) the box?
 
Application.DisplayAlerts = False
Sheet1.Delete
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