Automating & delivering reports

PDF export

Turning a finished workbook into a PDF, on Windows or on a Linux server.

Exporting a workbook to PDF: on Windows Excel itself exports through COM, and on a Linux server LibreOffice converts headlessly; both honour the print area.Exporting a workbook to PDF: on Windows Excel itself exports through COM, and on a Linux server LibreOffice converts headlessly; both honour the print area.two roads to a PDFreport.xlsxprint area setheaders, footersConvertExcel via COMor LibreOfficereport.pdfselected sheetspage numbers

Start with the full guides

The long-form treatment of pdf export, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

Follow it through a track

Prefer an ordered route? These tracks cover pdf export along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

PDF export is part of Automating & delivering reports.