Hi everyone,
I'm new to this forum, and I hope I can get help here.
I'm working on an Excel macro that selects all the worksheets in a workbook exept a summary sheet. hoe can I exclude other worksheets in addition to summary? The code starts like this:
For i = 1 To Sheets.Count
Sheets(i).Select
If Not Sheets(i).Name = "Summary" Then
Range("A3").Select
I tried things like:
"summary, sheet2, sheet3" - and "(summary),(sheet2),(sheet3)". Nothing works. Can anyone help me out?
Thanks!
I'm new to this forum, and I hope I can get help here.
I'm working on an Excel macro that selects all the worksheets in a workbook exept a summary sheet. hoe can I exclude other worksheets in addition to summary? The code starts like this:
For i = 1 To Sheets.Count
Sheets(i).Select
If Not Sheets(i).Name = "Summary" Then
Range("A3").Select
I tried things like:
"summary, sheet2, sheet3" - and "(summary),(sheet2),(sheet3)". Nothing works. Can anyone help me out?
Thanks!