How do I override a deletion box?

  • Thread starter Thread starter DMuehl
  • Start date Start date
D

DMuehl

This is the message I receive.

Data may exists in sheet(s) selected for deletion. To permantel
delete the data press delete.

The macro stops the loop process for this question with every build.
need it to be deleted automatically and build the next one.

Thank you :confused
 
hi,
try add something like this:
Application.DisplayAlerts = False
Worksheets("Report").Delete
Application.DisplayAlerts = True
 
Try this:

Application.DisplayAlerts = False

' Your code

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