logo
search
Printing Problems

How to Fix Excel Borders Printing Incorrectly or Missing in PDF Exports

Maira MehtabMaira Mehtab Sep 22, 2026 873 views

Question details

The user is experiencing issues where cell borders have incorrect thickness, disappear in PDF exports, or fail to show up in repeating header rows.

Product
Excel
Device & OS
not provided
Scenario
Attempting to physically print a worksheet or export it to a PDF file while preserving precise cell borders and repeating header lines.
Observed behavior
Borders render with the wrong thickness, go missing completely in the resulting PDF, or fail to appear on repeating top rows across multiple pages.
Before you start

Before proceeding, check the Print Preview in your spreadsheet software to determine if the missing borders are a layout issue or caused by the physical printer settings.

Solution 1Recommended

Adjust Page Setup and Scaling Settings

Improper page scaling can cause thin borders to shrink into invisibility during PDF export or printing. Adjusting scaling ensures lines render at the correct size.

When you shrink a large worksheet to fit onto a single page, fine visual elements like cell borders can become too thin for the PDF rendering engine to display.

1
Open Page Setup

Navigate to the 'Page Layout' tab on the top ribbon and click the small dialog box launcher arrow in the bottom right corner of the 'Page Setup' group.

2
Check Scaling

Under the 'Page' tab, look at the 'Scaling' section. If it is set to a very low percentage under 'Adjust to' or 'Fit to', try increasing the scale closer to 100%.

3
Verify Print Area

Go to the 'Sheet' tab within the same dialog and ensure that the 'Print Area' fully encompasses all your bordered cells, without cutting them off at the margins.

Gridlines Setting: Ensure 'Print Gridlines' is unchecked in the Page Setup dialog if you only want your custom borders to print.
Reliable PDF Exporting

Easily Print and Export Spreadsheets to PDF with WPS Office

WPS Spreadsheet offers high-quality, native PDF export capabilities, ensuring that your custom cell borders, repeating headers, and precise page setups print exactly as they appear on your screen.

  1. 1. Open Your Spreadsheet: Launch WPS Office and open your .xlsx file containing the bordered cells.
  2. 2. Check Print Preview: Click the 'Print Preview' icon in the quick access toolbar to ensure borders display correctly.
  3. 3. Export to PDF: Go to the main 'Menu' and click 'Export to PDF'.
  4. 4. Save Your Document: Choose your export range, configure the save path, and click 'Export' to generate a flawless PDF.
Highly compatible with Microsoft Excel (.xlsx) formatting and styles.Native built-in 'Export to PDF' tool accurately preserves cell borders and line thickness.Free and lightweight alternative for processing and printing complex spreadsheets.Intuitive Print Preview mode lets you verify page layout before printing.
microsoft office alternative - wps office

Frequently Asked Questions

Why do my Excel borders disappear when saving as PDF?

This commonly happens because of page scaling constraints or because the border line style is set to a hairline width. Some PDF rendering engines fail to draw very thin lines. Choosing a thicker border style usually resolves this.

How do I fix missing borders in repeating header rows?

Go to Page Setup > Sheet tab, and ensure your 'Rows to repeat at top' are correctly selected. Re-applying the border specifically to that header row range rather than the whole table can resolve export glitches on subsequent pages.

Does 'Print to PDF' work better than 'Save as PDF'?

In many scenarios, yes. Using a virtual printer like 'Microsoft Print to PDF' processes page graphics differently than the built-in 'Save As PDF' exporter, which often correctly renders stubborn cell formatting and borders.

Can print area settings affect border visibility?

Yes. If a border sits exactly on the edge of your defined print area or page margin, it might get truncated during printing or PDF export. Try expanding the print area by one column/row or slightly reducing the page margins.