Microsoft
Software
Hardware
Network
Question : bypass delete verification
I want to delete alot of worksheets in a macro, and need to bypass the prompt
"Data may exist in te sheets(s) selected for deletion. To permanently delete the data, press Delete."
For I = 1 To 96
Sheets("Data" & I).Select
ActiveWindow.SelectedSheet
s.Delete
Next I
Answer : bypass delete verification
Try adding:
Application.displayalerts = False
before the loop
For safety, I would add this after the loop:
Application.displayalerts = True
Random Solutions
E_ACCESSDENIED error when trying to import sites into new site collection with stsadm
check date plus 90 days
How to set AutoIncrement Property of a field ?
Excel 2007 / 2003 Compatibility issue from Macro
Please correct query
monitor file creation in specific folder
How do I get correct calculations using Dcount in a Report that is based on a filtered table?
Concatenate in Query with Leading Zero
winxp unstable
Increase the size of VDI