Eloise T
Active Member
I have the following line of code that allows me to exclude tabs (worksheets) in my workbook as I have need.
If ws.Name <> "Formula Info" And ws.Name <> "Next Tech" Then
How do I change the code to allow me to simply use numbers?
Would it be...?
If ws.Name <> "Sheet1" And ws.Name <> "Sheet5" Then ?
or
If ws.Name <> "!Sheet1" And ws.Name <> "!Sheet5" Then ?
I would experiment but the sheets are so large, it could take hours to spot a change.
Thank you.
If ws.Name <> "Formula Info" And ws.Name <> "Next Tech" Then
How do I change the code to allow me to simply use numbers?
Would it be...?
If ws.Name <> "Sheet1" And ws.Name <> "Sheet5" Then ?
or
If ws.Name <> "!Sheet1" And ws.Name <> "!Sheet5" Then ?
I would experiment but the sheets are so large, it could take hours to spot a change.
Thank you.