Sequential Ordering on multiple tabs

scottsoo9

New Member
Joined
May 26, 2010
Messages
15
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
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Enter in a Standard Module:
Code:
Function tabNum()
    'Returns the tab's number
    tabNum = Application.Caller.Parent.Index
End Function
Now, you can enter tabNum() on your sheet, and it'll give you the sheet's number.
 
Upvote 0
If you select all of your sheets, you can enter the formula once for all 484 sheets. Just remember to ungroup them before you do anything else!
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,729
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top