avoid message that asks for confirm delete sheet

C

Craig

What statement can avoid the confirmation of deleting a worksheet during a
macro run?

thank you
 
M

Mike H

Craig,

Application.displayalerts=false

'your delete code

Application.displayalerts=true

Mike
 
Top