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
Access 2003 SELECT Query from two tables base on date
need help with typing text on hotmail.
View variable results in Access VBA code module
How do I programically select an item in a list box
Silverlight: DataGrid with Image?
Access record navigation is not working in my custom application
Next Access Version Features
Parse Text From Outlook Body Using VBA
Error message after installing Ajax and using Editor control
Reconfiguring CRM Toolbar in Outlook