delete tab

  • Thread starter Thread starter jrh
  • Start date Start date
J

jrh

what code deletes sheet1 without giving the pop up box
confirming you want to delete the tab?

Thank you.
 
Application.DisplayAlerts = False
Worksheets("sheet1").Delete
Application.DisplayAlerts = True
 
Try this Jrh

Application.DisplayAlerts = False
Activesheet.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