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
Call NetMessageBufferSend function from vb.net
AD Login Script not working on Windows 7 - but will run locally from same computer
Open new window with specified size and without menu and toolbar from an application
Batch file for copying folder named as yesterday
How to create SQL recordset for this table
Search form
Error upgrading AD schema
Control lock Question
ACCESS 97 'out of memory' on Windows 2000 & XP
Parsing .aspx page with XMLReader, get a list of controls