How to Fix Word Page Numbers Changing When Large Tables Are Present
Question details
The user experiences shifting pagination and changing page numbers in Word documents containing large tables, especially during printing or saving as PDF.

- 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.
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.
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.
Highlight the table cells where text appears to touch the bottom border or where formatting seems to collapse.
Right-click the selected cells and choose 'Table Properties'. Navigate to the 'Cell' tab and click on 'Options'.
Uncheck 'Same as the whole table' if necessary, and increase the Bottom margin value to ensure adequate spacing.
Alternatively, place your cursor at the final paragraph in the cell, go to Paragraph settings, and add spacing after the paragraph.

Disable Automatic Table Resizing
Turn off auto-resizing to prevent the word processor from recalculating table dimensions and altering pagination, which also improves PDF printing stability.
Replace Empty Lines with Spaced Paragraph Marks
Prevent print engines from collapsing empty lines at the end of a cell by giving them structural content.
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. Open your document: Launch WPS Writer and open your document containing the large table.
- 2. Adjust fixed margins: Select the table, right-click, and choose 'Table Properties' to disable automatic resizing and adjust fixed cell margins.
- 3. Verify pagination: Use the 'Page Layout' tab to review pagination settings and ensure page breaks are correctly applied.
- 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.

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'.




