How to add page numbers in Word 2007: Insertion and setting methods

In Word 2007, use the footer to insert automatic page numbers, and then use the page number format to set the start page, cover page not shown, and "Page X of Y pages." The article also explains the common reasons why the page number button is gray and the corresponding solutions.

Key points of this article

  • The page number should be inserted into the footer. The page number command generates an automatic number. It will be updated after adding or deleting content.
  • Covers and tables of contents usually do not require page numbers. They can be processed with "different first pages" or section breaks, which is more reliable than manual deletion.
  • When numbering the text starting from page 1, divide it into sections first, then cancel the link to the previous section and set the starting page number separately.
  • The page number button is mostly gray because it is in draft or web layout view, or the document is restricted from editing. Just switch the view or unprotect it.

Adding page numbers to long documents in Word 2007 is one of the common formatting needs in papers, reports, contracts and tender documents. Many people will manually enter numbers on each page when they first operate it. As a result, after deleting a paragraph of text, all the page numbers will be misaligned, which is very time-consuming to change.

This article is written for users who are still using Word 2007, including students and professionals who need to add page numbers to graduation thesis and project proposals. When you're done reading, you can do three things: insert page numbers that automatically update, make the cover and table of contents not display page numbers, and have the text renumbered from page 1. Common problems such as the gray page button will also be explained.

How to add page numbers in Word 2007? One sentence conclusion

First insert the automatic page number generated by the page number command in the footer, and then set it according to the document structure. This is sufficient for short documents with only one page and no cover. Long documents with many covers and tables of contents require different settings for sections or homepages.

your situationRecommended practicesreason
Ordinary documents, numbered consecutively from the first pageThe page number generated by the insert page number command in the footerAutomatic numbering, updates will be postponed after content is added or deleted.
There is a cover or table of contents, and the text starts from 1Separate with section breaks, cancel the link to the previous section and set a separate starting page numberCover pages and tables of contents are not included in the page numbers of the main text.
I just want the cover to not show page numbersCheck "Different Home Page" and leave only the home page footer blank.The page numbers of other pages remain unchanged
Requires "Page X of Y"After inserting the page number, add text before and after the page number, and then insert the total number of pages fieldThe total number of pages will update with the length of the document
Page number button is gray and cannot be clickedSwitch to page view and check if editing is restrictedDraft and web layout views do not display headers and footers

Before you start: Confirm these points first

Look at the document usage first. Drafts and internal discussion drafts usually require only consecutive page numbers; formal reports, papers, and contracts often require that covers and tables of contents be unnumbered, or use Roman numerals. Different uses require different settings.

Confirm the view first. Headers and footers are only displayed in page view. If you're working in Draft or Web Layout view, there are common reasons why the page number buttons may not be visible or appear grayed out.

Check first whether the document is protected. If the document is set to restrict editing, the footer area may not be modified. In this case, the author or manager of the document needs to lift the protection first. It is not appropriate to bypass the protection rashly.

Confirm document structure. Count which pages belong to the cover, table of contents, and text. The position of the sections must be clearly thought out before starting, otherwise you will have to adjust it repeatedly later.

Back up the original file. Setting the section and page number format will affect the layout of the entire article. It is recommended to save a separate copy before proceeding so that you can refer to it if you make any mistakes.

Steps to add page numbers to text in Word 2007

  1. Open the document and make sure you are in page view. You can see the margins and footer area at the bottom of the page, indicating that the footer can be edited.
  2. Double-click the blank area at the bottom of the page to enter the footer editing state. The content of the page will darken, indicating that the text is temporarily uneditable.
  3. Find the command area related to the header and footer in the ribbon, select the page number command, and determine the position where the page number appears, such as in the center at the bottom of the page or to the right.
  4. Select a page numbering style. The page number will be displayed in the footer after insertion. The number is automatically generated, not manually entered text.
  5. If you need to modify the number format or starting page number, open the page number format setting, select Arabic numerals, Roman numerals and other formats, and fill in the required numbers in the starting page number.
  6. If the cover does not display page numbers, check "Different first page" in the header and footer tools. In this way, the footer of the homepage can be left blank, and the page numbers of other pages can be retained.
  7. If you want to display "How many pages in total", enter the word "Total" after the page number, insert the total number of pages through the header and footer tool, and then check the number in the text.
  8. Close header and footer editing, return to the text, and check the previous pages and the last page to confirm the results.

Check each item after completion

After setting the page numbers, don’t just look at the first page. The following suggestions should be checked one by one.

Check itemsHow to seeWhat to do if there is a problem
Is the starting page number correct?Turn to the first page of the text and see if the number is 1 or the value you setOpen page number format settings and modify the starting page number
Whether to display page numbers on the cover and table of contentsLook at the footers of previous pagesCheck the box to have a different home page, or divide it into sections before and after the table of contents.
Whether page numbers are updated automaticallyAdd or delete a paragraph of text in the text to see if the subsequent page numbers are postponedIf the number does not change, it means the text was entered manually. Delete it and reinsert the page number.
Is the total number of pages correct?Check whether the number in "Total Pages" is consistent with the actual number of pagesAfter selecting the total number of pages field, press F9 to update. If still incorrect, check whether there are blank pages.
Printing effectUse print preview to confirm that the page numbers are not obscured or extend beyond the marginsAdjust footer distance or margins

📊 Core comparison

There are three common ways to add page numbers to documents, and they are suitable for different scenarios.

Waysuitable for what situationThings to note
Insert automatic page numbers into footerFor most documents, the number of pages changes frequentlyNeed to confirm that the number is generated by the domain and not entered manually
Manually enter numbers in the footerA simple document with a fixed number of pages that only requires a few pagesAfter adding or deleting content, you need to modify it page by page, which is prone to errors.
Set numbers separately after sectioningLong documents with different cover, table of contents, and text formatsThere are many steps to set up, so you need to check the link relationship section by section.

❓ Frequently Asked Questions (FAQ)

1. Use Roman numerals for the table of contents page and Arabic numerals for the main text. How to set this?

First insert section breaks before and after the table of contents to divide the table of contents and the text into different sections. Then enter the page number format settings for the table of contents section and the text section respectively, select Roman numerals for the table of contents, select Arabic numerals for the main text, and set the starting page number to 1. The key is to cancel the footer link between the text section and the table of contents section, otherwise the two sections will use the same format.

2. What should I do if I delete the page number of a certain page but keep other pages?

If you want to delete only the cover page, just check the first page is different. If you want to delete a page in the middle, it is recommended to divide this page into a separate section, cancel the link between this section and the previous section, and clear the footer content of this section. Randomly deleting numbers in the footer may affect the display of subsequent page numbers.

3. Will the page numbers set in Word 2007 be messed up when opened in the new version of Word?

Footer page numbers and formatting are usually retained, but page break locations may vary slightly due to font or version differences. It is recommended to check the starting number of the page number, cover settings and total number of pages after opening it, and confirm that they are correct before submitting or printing.

4. Why does the text seem to be squeezed near the footer after inserting the page number?

This is usually because the footer distance is set too small, or the page number font size and the spacing before and after paragraphs are too large. You can adjust the footer distance or reduce the spacing between footer paragraphs to keep the page numbers at an appropriate distance from the main text.

📝 Summary

To add page numbers in Word 2007, the core is to first use the footer to insert automatic page numbers, and then set different home pages, sections, and starting page numbers according to the structure of the cover, table of contents, and text. The gray color of the page number button is mostly related to the view or document protection. Just switch to the page view and check again. By following the steps and checklist in this article, the page numbers of long documents can remain stable and will not be misaligned due to additions or deletions of content.

Open OmniDoc, edit and export documents online

Updated 2026-11-11