The equivalent in VBA to the statement you are looking for is:
Application.DisplayAlerts = FALSE
Set to false before executing code for which you want to skip confirmations. It's a good idea to set it back to true when you are done. :-)
Update: BTW, for anyone wondering, the same basic idea in MS Access is called "SetWarnings".
HTH,
In reply to Re: Delete a sheet from Excel
by planetscape
in thread Delete a sheet from Excel
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |