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
How to extract table field list using query
Help installing Server 2003 on RAID
round() method in MFC
How to set scroll position of a datalist inside a div tag using javascript?
MS Access Extended list - selections from saved list
Regex.Replace only match entire word instead of part of a word
Copy data from multiple workbooks with VBA
Use xml parameter in SQL Server select
Installing: What is it With this here "Mscreate.dir"
Disable file explorer rename on Windows