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
Calendar Column in DGV
Microsoft Exchange Mailboxes
SQL insert into memo field only accepts 254 characters
Change link styles in Wizard control sidebar
Unable to map printer using XPsp2 Corp RDC 6.0
mysql utf8
Average of numbers - count only records with complete data
Input Mask in Access
SQL - CASE Statement help needed
Loose Autotext entries on Word 2003 startup