Hi Folks, I created code to delete ALL sheets between sheet name 4 and 200....however when executed its only deleting every 2nd worksheet.
I can't see why its skipping every 2nd sheet. Code as follows:
Sub delextraworksheets()
Application.DisplayAlerts = False
For I = 4 To 200
Worksheets(I).Delete
Next I
Application.DisplayAlerts = True
End Sub
Appreciate any help.
cheers
Aaron
I can't see why its skipping every 2nd sheet. Code as follows:
Sub delextraworksheets()
Application.DisplayAlerts = False
For I = 4 To 200
Worksheets(I).Delete
Next I
Application.DisplayAlerts = True
End Sub
Appreciate any help.
cheers
Aaron