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
 
Back
Top