don't confirm deletion of a sheet with macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

After running a macro I receive a window asking me to confirm a deletion of
a worksheet. The same macro just did the deletion of the worksheet without
asking me to dele it with Excell XP but after I upgraded to Excell2003 every
time I run the macro it asks me to confirm the deletion of that sheet. I
guess I need to change any options but can’t find it in the Excell2003
options menu.
 
Hi
try
application.displayalerts=false
'delete sheet
application.displayalerts=true
 

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