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
Client pc's cannot resolve external domain
Duplicating a record in an MS Access Database
Left Join of Two Datatables in vb.net
How to make a web directory to be an application in Windows 2008 application server/web server?
Auto-Complete problem
trouble with sorting columns on gridview in ASP.NET 2.0
INSERT INTO SELECT FROM OPENQUERY question
Access: Gouping Textboxes into frames
How do I set up multiple RDPs thru my sonicwall TZ170 firewall
Auto populate date field for Microsoft CRM 4.0