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
Open Visual Foxpro DBF file without FPT filed
SQL Reporting Services - Service Unavailable
Problem in Update Statement
Dell Vista error code 7B, hang at black screen after login, factory retsore
How to - disable 'Confirm open after download' in Vista for sharepoint
Service not starting on 64 bit windows installation.
Forcing 32-bit VB.NET mode on 64-bit machine
SCCM Bare Metal installing Windows on wrogn drive
Excel - 'Excel.Application' is not defined.
add a PIVOT chart to my Acces form?