Thread: delete sheet
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Esau[_2_] Esau[_2_] is offline
external usenet poster
 
Posts: 4
Default delete sheet

how can i write this without answering yes or no


Sub deleteSheet()
'
Application.DialogBox = False
ActiveWindow.SelectedSheets.Delete
Application.DialogBox = True

End Sub

Would like Thank You