View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Per Jessen Per Jessen is offline
external usenet poster
 
Posts: 1,533
Default Say "yes" to "OK"


"pgarcia" skrev i en meddelelse
...
I have the following:
Sheets("Quick Search").Delete

But it keep asking me if want to permantly delete the sheet and I have to
click on the "OK" to processed. What is the VB code that I need to not
have
that ask me the quesiton, just delete it?

Thanks


Application.DisplayAlerts = False

Just remember to set it = True again after delete.

Regards,

Per