I am writing a loop to loop through all the sheets in my workbook and delete sheets with no information in them. I keep on getting a run time error 13. Any help is appreciated. The name of the workbook is _Assists.xlt. The name of the sheets I want to loop through is Assists_1 through Assists_8
Tom
Tom
Code:
For S = 1 To 8
For Each ws In Workbooks("_Assists.xlt").Worksheets
If ws.Name = "Assists_" & S Then ws.Delete
Next ws
Next S