Compound Page Numbering

Written by Allen Wyatt (last updated February 5, 2024)
This tip applies to Word 2007 and 2010


6

Jonathan wondered if there was a way to use two page-numbering schemes within the same document. He has a document that is made up of several sections, and he wants a running header similar to the following:

Page: 27    Effects of Product A and Product B (Page 1 of 5)

The page number at the left is the absolute page number for the document, and the page numbers at the right represent the relative page number and total number of pages in the current section. It would seem that such numbering would be possible, particularly since the same sort of numbers routinely appear on Word's status bar.

Not so, however. The page numbering used in Word is a section attribute. This means that you can control the page numbering on a section-by-section basis, but you cannot have two distinct numbering schemes in the document. At least, Word does not provide distinct fields that you can use for such a purpose. These are the only page number fields provided by Word:

  • PAGE. This field indicates the current page number. If you don't modify it (by restarting it for the current section or changing the starting page number), then it represents the current page number for the document as a whole.
  • SECTIONPAGES. This field indicates the total number of pages in the current section. If your document consists of a single section, then it represents the total number of pages in the document as a whole.

Using these two available fields, it is impossible to do what Jonathan wants, since he needs a third field—one that represents the absolute page number for the current section.

There are, fortunately, two workarounds you can use to accomplish the desired result. The first workaround involves the use of the SEQ field, and the second involves the use of PAGEREF fields. The workarounds are quite involved, and the details are best deferred to the Microsoft Knowledge Base. See this page:

http://support.microsoft.com/kb/291283

If you check out the page, you'll note that it indicates that it applies to Word 2002 and Word 2003. Never fear; the same techniques described in the article also apply to later versions of Word just fine. (The steps that implement the techniques may require a bit of adjustment, but shouldn't be a big problem for most Word users.)

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11640) applies to Microsoft Word 2007 and 2010.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Determining an ANSI Value in a Macro

Need to know the character code used for a particular character? In a macro you can use the Asc function to determine the ...

Discover More

Finding the Nth Occurrence of a Character

The FIND and SEARCH functions are great for finding the initial occurrence of a character in a text string, but what if ...

Discover More

Compiling a List of Students in a Course

Need to pull just a limited amount of information from a large list? Here are a few approaches you might be able to use ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Implementing a Dynamic Document Control Table

Accurately and repeatedly referencing information within a document is a common task that needs to be done. One way to ...

Discover More

Searching for a Specific Field

Fields can be a great boon to document development, as they allow you to insert different types of dynamic information in ...

Discover More

Deleting All Fields

Fields can be a great way of adding small snippets of dynamic data to your documents. However, you may want to get rid of ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 3?

2021-02-17 11:19:56

John Carnes

Seems the link isn't good. Tried searching on the KB number and that might be the problem.


2021-02-17 08:56:48

Casey Stauber

The link <http://support.microsoft.com/kb/291283> leads to a "page not found" page.


2021-02-17 08:08:33

Henry Noble

@Malcom Patterson

The article is old and appears to have been retired. Try the following for an archived copy:

https://www.betaarchive.com/wiki/index.php/Microsoft_KB_Archive/291283


2021-02-17 07:39:42

Malcolm Patterson

I could not access the knowledge base at http://support.microsoft.com/kb/291283. Did Microsoft move the knowledge base?


2015-02-23 04:54:41

colin

I am producing a specification using the master doc feature but can find very little in the way of tutorial on how to go about it can any one help.
The document will have 9 sections of approx.70 pages.


2012-04-28 16:22:19

Penny Edwards

Thank you so much for the pointer to Microsoft support for compound page numbering. I have been trying for ages to create a number scheme with the section page number in the header and the document page number in the footer. I had hoped that the SEQ field would be the answer but I was frustrated because I could not use it in the header or footer. I had not thought to put it into the document itself.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.