Greg,
Try something like
Application.DisplayAlerts = False
' your code here
Application.DisplayAlerts = True
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Greg" wrote in message
...
I have a VBA macro that needs to delete a worksheet but the
confirmation
dialog comes up when run. Is there a way to disable this
dialog.
Thanks,
Greg