don't confirm deletion of a sheet with macro

T

Tim

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.
 
F

Frank Kabel

Hi
try
application.displayalerts=false
'delete sheet
application.displayalerts=true
 
Top