How can i automate the response to a generated pop up?

  • Thread starter Thread starter Eni001
  • Start date Start date
E

Eni001

I need VBA code that will select OK when the popup is generated in response
to a command to delete a worksheet.


Regards
 
You can turn off the pop up with the following line

Application.DisplayAlerts = False
 

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