how do i start this code on sheet tab "sht 12312" and stop this code on sheet tab "sht 12323." i would perfer not to use counters so that tabs may be deleted if unused inbetween 12312 and 123323.
Code
Dim w As Worksheet
For Each w In ActiveWorkbook.Worksheets
w.Activate
gunshow
Next w
Sub excludesheets()
Dim w As Worksheet, blnDo As Boolean
blnDo = False
For Each w In ActiveWorkbook.Worksheets
If w.Name = "sht 12312" Or w.Name = "sht 12323" Then blnDo = Not blnDo
If blnDo Then
w.Activate
gunshow
End If
Next w
End Sub