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
 

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

Top