logo
search
Formatting Issues

How to Fix Word Page Numbers Changing When Large Tables Are Present

Chanuka GeekiyanageChanuka Geekiyanage Oct 9, 2026 869 views

Question details

The user experiences shifting pagination and changing page numbers in Word documents containing large tables, especially during printing or saving as PDF.

How to Fix Word Page Numbers Changing When Large Tables Are Present
Product
Word
Device & OS
not provided
Scenario
Editing, printing, or converting a Word document with large tables to PDF.
Observed behavior
Word recalculates pagination when a large table is selected or printed, causing the document's total page count and footer page numbers to change unexpectedly. Tables may shift due to empty lines or end-of-cell markers being collapsed by the print engine.
Before you start

Enable formatting marks in your document by clicking the 'Show/Hide ¶' button on the Home tab. This allows you to clearly see end-of-cell markers, line breaks, and empty paragraphs that might be affecting your table layout.

Solution 1Recommended

Adjust Cell Margins and Paragraph Spacing

Prevent layout collapse during printing by manually defining the spacing at the bottom of your table cells.

End-of-cell markers act like paragraph marks and can affect how the layout is calculated. If the bottom of a cell is unstable, increasing the cell margins creates a consistent buffer space.

1
Select the table cells

Highlight the table cells where text appears to touch the bottom border or where formatting seems to collapse.

2
Adjust table properties

Right-click the selected cells and choose 'Table Properties'. Navigate to the 'Cell' tab and click on 'Options'.

3
Increase the bottom margin

Uncheck 'Same as the whole table' if necessary, and increase the Bottom margin value to ensure adequate spacing.

4
Adjust paragraph spacing

Alternatively, place your cursor at the final paragraph in the cell, go to Paragraph settings, and add spacing after the paragraph.

Adjust Cell Margins and Paragraph Spacing
Consistent Layout: Defining explicit margins ensures the print engine will account for the space rather than collapsing empty visual areas.
Efficient Document Formatting

Create and Manage Large Tables Seamlessly with WPS Writer

Avoid frustrating pagination errors and unexpected layout shifts. WPS Writer provides precise layout control, ensuring your page numbers and tables stay exactly where you put them, whether you are editing, printing, or exporting to PDF.

  1. 1. Open your document: Launch WPS Writer and open your document containing the large table.
  2. 2. Adjust fixed margins: Select the table, right-click, and choose 'Table Properties' to disable automatic resizing and adjust fixed cell margins.
  3. 3. Verify pagination: Use the 'Page Layout' tab to review pagination settings and ensure page breaks are correctly applied.
  4. 4. Export to PDF: Click the 'Menu' button and choose 'Export to PDF' to securely save your document while retaining the exact table layout and page numbers.
Highly compatible with Microsoft Word document formats (.docx, .doc)Precise table properties and cell margin controls for accurate layoutStable pagination and secure built-in PDF export without layout collapseFree and lightweight alternative to standard office suites
microsoft office alternative - wps office

Frequently Asked Questions

Why do my page numbers change only when I print or save as PDF?

When you print or export to PDF, the print engine recalculates the page layout based on printer margins and hidden formatting characters. If empty line breaks at the bottom of table cells are collapsed by the printer because they lack actual text characters, the table shrinks. This forces the text to shift up, altering pagination and updating your footer page numbers.

What is an end-of-cell marker in Word documents?

An end-of-cell marker is a hidden formatting symbol inside a table cell that acts similarly to a paragraph mark. It stores the formatting of the cell. If not managed properly, these markers can inadvertently cause extra spacing or layout shifts when interacting with table borders.

How do I stop my table rows from breaking across pages?

To keep a table row from splitting across multiple pages, select the table, right-click, and choose 'Table Properties'. Go to the 'Row' tab and uncheck the option 'Allow row to break across pages'. Alternatively, you can highlight the table text, open Paragraph settings, and check 'Keep lines together' or 'Keep with next'.