+ Reply to Thread
Results 1 to 7 of 7

Sequential Ordering on multiple tabs

  1. #1
    Registered User
    Join Date
    05-26-2010
    Location
    virginia beach, virginia
    MS-Off Ver
    Excel 2003
    Posts
    14

    Sequential Ordering on multiple tabs

    I have an Excel spreadsheet with multiple tabs. I want to number a cell in each tab sequentially from 1 to 484. There are 484 total tabs. So the first tab will be numbered 1 in a cell, the second tab will have number 2 in a cell, third tab will have number 3 in a cell, and so on till tab number 484 will have 484 in a tab.

    Is there a way to do this so I do not have to enter each one manually? What would the formula be? Any help will be greatly appreciated. Thanks, Scott

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Sequential Ordering on multiple tabs

    Hello, Try.

    define this name. Press Control+F3.

    Name: TabName

    Refers to:
    Please Login or Register  to view this content.
    Click OK.

    Then right click from the tab name click Select All Sheets

    Then enter in a cell

    =TabName

    press Enter.

    NOTE: CELL function is volatile, this will make your file calculation slow.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,375

    Re: Sequential Ordering on multiple tabs

    Hi scottsoo9

    This short code will put the sheet number in Cell A1 for as many sheets as you have in your workbook.

    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    05-26-2010
    Location
    virginia beach, virginia
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Sequential Ordering on multiple tabs

    Thanks for the quick responses. Which one would be best to use? I tried to do what Haseeb said but it was a little hard to follow. I am not a programmer, so really have no clue how to do this kind of stuff. How would I enter the info that MarvinP gave? Sorry for my lack of knowledge.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,375

    Re: Sequential Ordering on multiple tabs

    Get to the VBA screen and copy and paste my code into a MODULE.

    Then run it as a macro.

    http://www.excel-vba.com/vba-prog-1-4-editor-code.htm

  6. #6
    Registered User
    Join Date
    05-26-2010
    Location
    virginia beach, virginia
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Sequential Ordering on multiple tabs

    It worked. Thanks for the help!

  7. #7
    Registered User
    Join Date
    05-26-2010
    Location
    virginia beach, virginia
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Sequential Ordering on multiple tabs

    If I wanted my number to start at 501 and go to 1000, instead of starting at 1 and going to 500, how would I change the code. Thanks
    Attached Files Attached Files
    Last edited by scottsoo9; 06-09-2011 at 12:13 PM.

+ 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