delete method arguments?

  • Thread starter Thread starter Svetlana
  • Start date Start date
S

Svetlana

Hello!

I have a macro that deletes sheets in a workbook and every
time a sheet is deleted I get a prompt to make sure
that "I really want to delete this sheet". Is there is
some way to disable this prompt or put in the code to
confirm the deletion?

Thanks a lot!!
Svetlana
 
Hi
application.displayalerts=false
'code to delete something
application.displayalerts=true
 
Thank you!!
-----Original Message-----
Hi
application.displayalerts=false
'code to delete something
application.displayalerts=true

--
Regards
Frank Kabel
Frankfurt, Germany


.
 

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

Back
Top