avoid message that asks for confirm delete sheet

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

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

thank you
 
Craig,

Application.displayalerts=false

'your delete code

Application.displayalerts=true

Mike
 
Back
Top