in reply to Delete a sheet from Excel
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,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Delete a sheet from Excel
by Anonymous Monk on Sep 12, 2005 at 09:45 UTC | |
by planetscape (Chancellor) on Sep 12, 2005 at 10:00 UTC | |
by Anonymous Monk on Sep 12, 2005 at 10:25 UTC | |
Re^2: Delete a sheet from Excel
by Anonymous Monk on Aug 07, 2007 at 14:06 UTC | |
by planetscape (Chancellor) on Aug 07, 2007 at 19:46 UTC |