Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try something like
Dim N As Long Dim WS As Worksheet For N = Worksheets("USaa").Index To Worksheets("USzz").Index Set WS = Worksheets(N) '''''''''''''''''''''''''''''''''''''' ' Done something with WS '''''''''''''''''''''''''''''''''''''' Next N -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com (email address is on the web site) "Newbie" wrote in message ... Hi Can anyone help me loop through the tabs in a certain position? I currently use: for each ws in thisworkbook.worksheets but the loops all, I only want to loop the tabs named between eg USaa and USzz Grateful for all help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
tabs are missing even though 'tools-options-view-sheet tabs' ok? | Excel Worksheet Functions | |||
hide tabs from view then lock tabs? | Excel Discussion (Misc queries) | |||
Run out of resources .... loop to new tabs | Excel Programming | |||
Loop to new tabs | Excel Programming | |||
Advancing outer Loop Based on criteria of inner loop | Excel Programming |