Skip to main content
Microsoft 365
Subscribe

Insert page x of y page numbers in just one section

A lot of people want to use different page numbering schemes in different parts of their documents. And a lot of people want to use “page x of y pages” page numbering in their documents.

Sometimes, people want to use “page x of y pages” page numbering in just a part of their documents.

It all gets down to linking–or unlinking.

If your sections are not linked, you can use a different numbering scheme in each section. You can use i, ii, iii in one section and page x of y pages in another section.

Microsoft Word icon.

Microsoft Word

Put your best words forward with an Office 365 subscription.

The Header and Footer galleries include some page x of y pages numbering formats. Or you can use field codes to do it yourself.

But first, click where you want to begin the page x of y pages numbering.

Click the Page Layout tab, and then click Breaks and click Next Page under Section Breaks.

Now you have a new section. Double-click in the header or footer (wherever you want to put your page number), and then click Link to Previous to unlink your new section from all the preceding pages. If Link to Previous is not orange, you’re ready to go.

Link to Previous is turned off

If Link to Previous is orange, you’re still linked, so be sure to click it.

Link to Previous is turned on

Now, you can click Page Number, click Top of Page or Bottom of Page or Current Position, and then scroll down until you see Page X of Y.

Page X of Y area of the Page Numbers gallery

Click the page number option that you want to use. It will look something like this:

Page x of y pages option from the gallery

Wait! There’s more

If you want one more thing in your header or footer, such as the document title or your name, skip the gallery and use field codes.

You still want a new section, and you still want to be sure that it isn’t linked to the previous pages in your document.

Now, if you’re still in the header or footer, press TAB until the cursor is where you want the page number.

Type the word page and a space, then click the Insert tab, click Quick Parts, and click Field. Use the Page and NumPages fields to get the page number and the total number of pages. You can also use the step-by-step instructions.

Now you have your page x of y pages numbering. It looks something like this:

Page x of y pages inserted by using field codes

(I turned on field code shading so that you can see where the field codes are.)

If you want to use a different numbering format later in the document, be sure to add another section break and to unlink that section.

And if you know right from the start that you want to use different numbering formats, insert those section breaks and unlink them first. That way, you can be sure to get the right numbers where you want them.

For all the details of page numbering and headers and footers, see Add or remove headers, footers, and page numbers.

— Joannie Stangeland