View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
GKeramidas GKeramidas is offline
external usenet poster
 
Posts: 38
Default Say "yes" to "OK"

try

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

--


Gary

"pgarcia" wrote in message
...
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