Hi, I have the below code which works well. I have 18 tabs in total and they change all the time apart from 2 or 3. However I now only want the list to start after the "template" tab which is the 4th tab. Can anyone tell me what I need to add to the below for this to work?
VBA Code:
Sub Listalltabs()
Dim ws As Worksheet
Dim x As Integer
x = 1
Sheets("Tab list").Range("A:A").Clear
For Each ws In Worksheets
Sheets("Tab list").Cells(x, 1) = ws.Name
x = x + 1
Next ws
End Sub