Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get an error Visual Basic "400" message when this code is ran:
Sub DeleteSheets() Dim wks As Worksheet Application.DisplayAlerts = False For Each wks In Worksheets If InStr("Bill (", wks.Name) 0 Then wks.Delete Next wks Application.DisplayAlerts = True End Sub How can I fix this? Thank you, Thomas |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
I have Error 1919 Error Configuring ODBC dataSource Database | Excel Discussion (Misc queries) | |||
run-time error '1004': Application-defined or object-deifined error | Excel Programming | |||
Automation Error, Unknown Error. Error value - 440 | Excel Programming |