delete tab

J

jrh

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

Thank you.
 
P

Peo Sjoblom

Application.DisplayAlerts = False
Worksheets("sheet1").Delete
Application.DisplayAlerts = True
 
R

Ron de Bruin

Try this Jrh

Application.DisplayAlerts = False
Activesheet.Delete
Application.DisplayAlerts = True
 
Top