View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default Say "yes" to "OK"

application.displayalerts = false
Sheets("Quick Search").Delete
application.displayalerts = true
--
HTH...

Jim Thomlinson


"pgarcia" wrote:

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