+ Reply to Thread
Results 1 to 4 of 4

Loop through Tabs

  1. #1
    Registered User
    Join Date
    03-04-2010
    Location
    DFW, TX
    MS-Off Ver
    Excel 2007
    Posts
    6

    Loop through Tabs

    I want to LOOP through all the Tabs within a worksheet to change the Tab name to the name of a specific cell. I have a Macro that will do this for one Tab at a time, but I have 100 to 200 tabs per workbook.

    Thank you for your help,
    Teri Schmig

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Loop through Tabs

    Here is the basic approach, adapt as required. It assumes cell A1 on each sheet contains the value by which to name the sheet.

    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Loop through Tabs

    Here's one way:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    03-04-2010
    Location
    DFW, TX
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Loop through Tabs

    I used Palmetto's code and it worked great - thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1