Made on Earth Donate

Why Excel splits your columns across PDF pages, and how to get one clean PDF of a whole workbook

10 November 2026 · 9 min read · by Varun Agrawal

The tool this post is aboutExcel Workbook to One PDFConvert a whole Excel workbook to one PDF, with a bookmark per sheet.

You have a spreadsheet that looks right on screen: a five-year forecast, a price list, a class register. You press Save as PDF, open the result, and page 1 shows every row but only some of the columns. The last two columns sit alone on page 3, after all the rows, with no labels next to them. Anyone reading the PDF has to flip between pages and match rows by eye. If the workbook has more tabs, you only got the one that was open, so you export the others one by one and stitch the files together.

This post explains why spreadsheets print like that, what the usual workarounds cost, and how the Excel Workbook to One PDF converter handles it: every visible sheet in one file, wide sheets on wider pages instead of split, and a bookmark for each sheet.

Why a spreadsheet gets cut into pieces

A word processor flows text into pages. A spreadsheet can't: it is a grid that can run to 16,384 columns and over a million rows, and paper has a fixed size. So when a sheet is printed, the grid is cut into page-sized tiles. Excel (and LibreOffice, and Google Sheets) work out how many columns fit across the printable width of the page at the sheet's scale, put a vertical page break there, and do the same for rows. Each tile becomes a page.

Then the tiles are numbered. The default order is down, then over: first every page of the leftmost block of columns, top to bottom, then every page of the next block. So for a sheet that is 40 rows long and slightly too wide for the paper, you get:

PageRowsColumns
11–40A–F
21–40G only

With 120 rows it gets worse: pages 1–3 are columns A–F, and pages 4–6 are column G, out of context. The more a sheet overshoots, the more pages of orphaned columns. Nothing is lost, but the layout that made the sheet readable is.

Three things make this happen far more often than you'd expect:

  • Screens are wider than paper. A sheet that fits a laptop screen at 100% easily runs past the 18 cm or so of printable width on A4 portrait, or the 26 cm on landscape.
  • Nobody touches page setup. Scale, orientation and print areas live in a tab most people never open. A sheet keeps Excel's default of 100% on portrait paper.
  • Exports carry blank formatting. A Google Sheets export formats every cell out to column Z. Excel counts formatted cells as part of the sheet, so a seven-column table can print as if it were 26 columns wide, with blank pages to the right.

A smaller cousin of the problem: a note or comment typed in a cell beside the table, say "mostly working from home" next to a zero rent line. It is real content, so it prints, and if it sits past the page edge it gets a page of its own.

The usual fixes, and what each one costs

Every spreadsheet program has ways around this. Each works, and each gives something up.

Fit all columns on one page

Excel's Fit All Columns on One Page (or Fit to 1 page wide) shrinks the sheet until it fits the paper's width. For a sheet that overshoots by 5%, perfect. For one that overshoots by 60%, the text comes out at 60% of its size: 11-point text turns into about 6.5 points. Fine on screen with zoom; hard to read on paper. And it has to be set per sheet, in each workbook.

Landscape

Turning the page buys about 45% more width on A4. It often helps, sometimes isn't enough, and makes long sheets take more pages.

A print area, or hiding columns

You can tell Excel to print only A1:F40. That keeps the table on the page by leaving the rest out, which is fine when the rest is scratch work and wrong when it's the note your reader needed.

Export each tab, then merge

Excel's Save as PDF exports the active sheet unless you change the option. Exporting tab by tab and merging them in a PDF tool gets everything into one file, but takes a few minutes per workbook and gives you a PDF with no way to jump to a tab: a 40-page document where "Q3" is somewhere in the middle.

Screenshots

The last resort, and common: text that can't be selected, searched or copied, at screen resolution.

A PDF isn't paper

All those fixes assume the output is going on A4 or Letter. Most PDFs never get printed. They are attached to emails, uploaded to portals, read on screens that zoom and scroll. A PDF page can be any size, from a business card up to 200 inches (5.08 m) on a side. So there is a fourth option the print dialog doesn't offer: make the page as wide as the sheet.

A sheet that needs 34 cm of width gets a page 34 cm wide, at the same height as the paper it was set up for. Every column sits next to its row, at the scale the sheet was set to. A reader's PDF viewer fits the page to their window; if someone does print it, every viewer's print dialog has a Fit to page option, which shrinks only that page, only on paper.

How the converter does it

The converter runs LibreOffice, the open-source office suite, on the site's server. You don't need Excel. Before LibreOffice writes the PDF, a script goes through the workbook sheet by sheet.

1. Decide which sheets to look at

Hidden sheets are skipped, so hiding a tab is how you leave it out. A sheet set up to fit a number of pages (Fit to 1 page wide or similar) is printed the way it says: you made that choice. So is a sheet with a print area, manual column page breaks, or row and column headings switched on in print, because then the layout is clearly deliberate.

2. Measure what actually prints

This is the part that sorts out Google Sheets exports. The script finds the furthest column and row that hold something worth printing:

  • a cell with a value, text, date or formula;
  • a cell with a fill colour or a visible border (an empty coloured header band counts);
  • a chart, image or shape, measured to its right and bottom edges.

Formatting alone doesn't count, so bold set on empty cells out to column Z adds nothing. The result is the sheet's real printed block, say A1:G23.

3. Compare it with the page

The block's width is multiplied by the sheet's own scale, 100% by default, or whatever you set. If it fits between the page's left and right margins, nothing changes. Most sheets stop here and print exactly as they would anyway.

4. Give a wide sheet its own page size

If the block is wider than the page, the sheet gets a copy of its page style with one change: the width becomes the block's width at the sheet's scale, plus the original margins, plus 3 mm of spare so rounding can never push the last column onto a new page. The height, margins, orientation, headers, footers and scale are kept. The print area is set to the measured block, so trailing formatted blanks can't add empty pages.

If a sheet would need a page wider than 5 m, past what a PDF page can be, it is shrunk to one page wide instead. In practice that takes hundreds of columns.

5. Bookmarks, and how the PDF opens

LibreOffice writes a bookmark for each printed sheet, named after its tab and pointing at the sheet's first page. When there is more than one, the PDF is set to open with the bookmarks sidebar showing, so a reader sees "Summary, Q1, Q2, Q3" on the left from the start.

A worked example

Take a five-year profit forecast, the kind a bank or a visa office asks for: a label column 79 characters wide, five columns of euro amounts, and a short note in column G next to one row. The sheet is set to A4 landscape at 90%, which someone chose so the table would fit.

At 90% the table itself just fits, but column G doesn't. In Excel's own PDF, the note lands on a page of its own. Depending on the printer driver, the last row of the table can fall onto another page too, and numbers that only just fit their column on screen can come out as ####, because the PDF is laid out with the printer's font measurements, not the screen's.

Through the converter:

  • The printed block is measured as columns A to G: the table plus the note.
  • At the sheet's 90%, that needs about 30 cm, against 26 cm of printable width on A4 landscape.
  • The sheet gets a page 343 mm wide (A4 landscape is 297 mm) and the usual 210 mm tall, still at 90%.

The result is one page with the note next to the row it explains, every amount readable, and the same text size as the original layout. Nobody had to change the workbook.

Why keep the 90%? Because the author picked it. An earlier version of the converter only widened sheets left at 100% and printed everything else exactly as set up, which sent the note to page 2. Treating the sheet's own scale as the target keeps the author's choice and still keeps the columns together.

Passwords, macros and other details

Password-protected workbooks

The converter first tries to open the file without a password, because LibreOffice refuses to open an unencrypted file if it's given one. If the file turns out to be encrypted, the page asks for the password, and you type it and convert again with the same file still selected. A wrong password says so. The finished PDF has no password. Sheet protection and workbook-structure protection don't encrypt anything, so those files convert without asking.

Macros and links

Uploaded files are treated as untrusted. Macros never run, even in .xlsm files; links to other workbooks aren't refreshed; and images that are linked rather than embedded are blocked, so a workbook can't make the server fetch a web address or pull a file off its disk. What you get is the sheets as they were saved.

CSV files

A CSV has no page setup and no tabs, just rows. It is read as comma-separated UTF-8 with double-quoted fields, printed as a single sheet, and widened like any other if it is wider than the page. A semicolon-separated CSV (common in Germany and France) comes out as one column; open it in Excel and save it as .xlsx first.

Rows still run onto more pages

Widening is only sideways. A 300-row sheet still prints across several pages, top to bottom, each at the paper's height. Making a page 3 m tall to fit everything would technically work and be miserable to read.

Limits worth knowing

  • It is LibreOffice's rendering. Ordinary sheets, number formats, borders, fills and charts carry over well. Unusual chart types, some conditional formatting and fonts the server doesn't have can look slightly different, which is why the PDF shows in a preview before you download it.
  • Size and time. Files up to 50 MB; a conversion is stopped after two minutes. Huge data dumps may need a print area on the sheets that matter.
  • Comments aren't added as PDF annotations.
  • Upload. The workbook is sent to the site's server to be converted; see the privacy policy.

Getting the best PDF out of a workbook

  1. Hide the tabs you don't want (right-click the tab, Hide). Hidden and empty sheets get no pages and no bookmark.
  2. Name your tabs well. The tab names become the bookmarks: "Summary" beats "Sheet1".
  3. Let wide sheets be wide if the PDF is for screens. Do nothing, and the converter gives them wide pages.
  4. Set Fit to 1 page wide only if the PDF must print on plain paper without scaling. That setting is respected.
  5. Check the preview, and open your viewer's sidebar to see the sheet bookmarks before you send it.

If you have a Word document instead, Word to PDF with Bookmarks uses the same engine and turns its headings into bookmarks. And if the PDF you were sent is locked, Remove PDF Password takes the password off once you know it.

Try it now, freeExcel Workbook to One PDFConvert a whole Excel workbook to one PDF, with a bookmark per sheet.

More from the blog

All posts →