Sequential Page Numbers Across Worksheets
Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Sequential Page Numbers Across Worksheets.
Valerie has a business need to get Excel to use sequential page numbers across multiple tabs in a workbook, but she can't figure out how to do it. Each time she begins a new worksheet the page numbers start at 1 again.
There are two approaches you can use to get the page numbering you want. By default, Excel determines what it feels is the best starting page number when printing a worksheet. If you print just a single worksheet, Excel starts the numbering at page 1. If you print multiple worksheets at the same time (create a selection set of worksheet tabs before you start printing), then Excel prints the worksheets sequentially, one after the other, and numbers the pages sequentially as well.
Thus, to get the sequential page numbers you want, you should either select the worksheets you want to print before issuing a single print command or you should display the Print dialog box and, using the Entire Workbook radio button, specify that you want to print the entire workbook.
The second approach is to specify, manually, what page number you want Excel to use for a beginning page number. This approach works well when you can't print all your worksheets at once or if the worksheets you need to print are in separate workbooks. All you need to do is display the Page Setup dialog box (File | Page Setup) and use the First Page Number box to specify what page number you want Excel to use.
One final note: You'll want to make sure that you have the headers or footers of your worksheets set up to actually include page numbers. Excel doesn't print them automatically; you need to specify that the header or footer contain a page number. (How you set up the header and footer has been covered in other ExcelTips.)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7756) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Sequential Page Numbers Across Worksheets.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Leave your own comment:
Comments for this tip:
Kamal Kumar 22 Jul 2016, 02:33
I have question regarding assign page no. in same sequence in different worksheets i.e if the last page of 1st worksheet is 10 then the second worksheet must be start from the 11 automatically without assign the first starting page no. Waiting for you guidelines in this regard.
AZIZ R. SADIK 31 Mar 2016, 09:46
First, thanks for any help from you. I need 2 actions in my specific use of excel:1) to duplicate the first sheet to many ( say 50 sheets( withe same page layout; 2) to generate sequential numbers to these sheets in the same workbook. Thanks.
Piet Naude 09 Nov 2015, 03:26
My problem is that the end page number on the "Page 10 of 130" keep on changing. So when the document is printed the last number (130) change to 140 then back to 127 etc. Why is it doing that?
Celia 29 Aug 2015, 11:53
Thank you for these tips. They have been extremely helpful.
Savanna 25 Jul 2015, 17:06
I also needed to use continuous page numbering across multiple sheets (tabs). I researched this issue on other websites and finally realized what is missing in this tip. The correct total number pages in the footer "Page 1 of ?" ONLY appears in the print preview, not on the screen in Page Layout mode.
TO ADD PAGE NUMBERS (Excel 2010)
1. Click View tab on the ribbon, then click Page Layout sheet in the Workbook Views section
2. Click in the footer where you wish to insert page numbers
3. A new tab appears on the ribbon called Design. Click on it.
4. Click the drop-down arrow under Footer in the Header & Footer section, and select "Page 1 of ?" It will insert "Page &[Page] of &[Pages]"
5. You can highlight and format the font, size etc. of the footer text using the Home Tab
6. At this point, the "?" representing the total pages in the document will only reflect the number of pages on the current sheet. But it will be correct once you print the document using the steps below!
7. Repeat the process to add the "Page 1 of ?" footer to each sheet you intend to print.
TO PRINT WITH CONTINUOUS PAGE NUMBERS
8. Select the sheets that you wish to print. To select, hold down Ctrl and left-click on each tab you wish to include. These are now the "Active Sheets" and Excel has combined them in to a Group. Careful! Don't make any changes to the data on the sheets while they are grouped together. (To Ungroup after printing, right-click on any of the grouped sheets and select Ungroup Sheets.)
9. Click the File tab on the ribbon, then click Print
10. Under settings, choose Print Active Sheets, a.k.a. the Group you created
11. You can scroll through the print preview in the right panel and see the total pages is now correct
12. Print or Save as PDF
13. Remember to ungroup the sheets after printing
Hopefully this helps!
Willy Vanhaelen 22 May 2015, 15:51
Read this tip carefully. It explains exactly how to do it.
Harsh 22 May 2015, 03:00
I want that I have three sheet in excel file. now in 1st sheet I have 10 pages and 2nd sheet I have 15 page then total no. of pages is 25 pages. now I want to print with continue page no. i.e 1st sheet bearing no. 1 to 10 and 2nd worksheet 11 to onwards......
How can I do that
lori cobbs 23 Apr 2015, 11:53
i can get the correct numbers to print sequentially (and they show up correctly in print preview as well) but they do not show in regular page layout view. what happens in page layout view is that one sheet will show 1 of 2, 2 0f 2, and then the next sheet will show the same. In page layout view you can't go from one tab to the next (even if they are grouped) and see 1 of 47, 2 of 47, etc. can this be accomplished? thanks!
susan 20 Jan 2015, 01:05
I have a 34 sheet or page workbook. I want to number my sheets in the right footer space starting with sheet 1 as page 1 and my last page showing page 34.
Do I have to number each sheet individually? I'm new to this.
Nothing I am reading is working for me.