On a line above the delete sheet statement put the following application
command:
Application.DisplayAlerts = False
Alerts in Excel are automatically reactivated when the macro is finished
running so there's no need to end you macro with an
"Application.DisplayAlerts = True" statement.
Kevin, you are wrong on this one. It stays False until you turn it back to
True, even if your macro stops.
Bob
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.