Skip to content
EditFlip
ENRO
Back to blog
Excel

Excel to PDF not working: causes and fixes

When Excel will not save a PDF, hangs, shows an error or hands you an empty file, the cause is usually one of a handful of things. Here they are, in the order to try them.

Eric Rada · Founder · · 7 min read

In short

  • Try the quick things first: save the workbook, close any PDF with the same name, save to a short path such as the Desktop, and check Options so it exports the sheets you meant.
  • If it still hangs or errors, look for a print area or stray cells that make thousands of pages, start Excel without add-ins, then repair Office.
  • Skip Excel and convert the spreadsheet in your browser

A PDF export from Excel goes through the same machinery as printing. So the failures are of two kinds: Excel cannot write the file where you told it to, or Excel thinks the sheet is much bigger than it looks. The first gives an error message about the document not being saved. The second gives a hang, a huge file or a PDF full of empty pages.

This guide takes the symptoms one by one, from the cheapest fix to the heaviest. If you are stuck and only need the numbers in a PDF today, there is also a route that does not use Excel or a printer at all. It makes a plainer PDF, and the guide says what it leaves out, so you can choose.

On EditFlip, step by step

  1. Step 1

    Check the file before blaming the program

    Open the workbook in Excel and make sure it opens without a repair message. Save it under a short name in a simple folder such as the Desktop. If the file came from email or a download, open it once and press Enable Editing. A file that Excel itself struggles to open will not export either.

  2. Step 2

    Open editflip.com and choose the spreadsheet

    In the browser go to editflip.com/excel-to-pdf and press Choose a spreadsheet. Pick the .xlsx, .xls or .csv file. The page reads it itself, so no printer driver and no Excel add-in is involved. The file can be up to 100 MB.

  3. Step 3

    Wait for the conversion and look at the preview

    There is nothing to set. Every sheet is written into the PDF, each with its name on top when there are several. Press Preview and look through the pages. Colours, charts and your print settings are not carried over, so check that the numbers are all there and nothing is cut.

  4. Step 4

    Download, or go on to another step

    Rename the file with the pencil if you like, then press Download, or Share on a phone. If the PDF is large, tap Compress on the result. If the workbook has more sheets than the reader needs, keep only some pages with Split.

Quick fixes that solve most cases

Start with the dull ones. Save the workbook first, because an export from a file with unsaved changes or in a protected view can fail. Close any PDF that has the same name as the one you want to make; if it is open in a reader, Excel cannot overwrite it, and the error says the document may be open or something is preventing it from being saved.

Then change the place. A file on a network drive, a USB stick, or a folder that a cloud service is syncing can fail halfway. Save the PDF to the Desktop. A very long folder path can also be refused, so a short path and a short name are safer.

Last, in the save window press Options and look at what is going to be published: the active sheets, the whole workbook, or a selection. A selection of a single empty cell gives an empty PDF, and so does a sheet where nothing is set to print.

The PDF is empty, or has hundreds of blank pages

Excel prints the area it thinks is used. If someone once formatted a cell at row 500,000, or pasted something far to the right and deleted it, Excel may still count that space. Press Ctrl and End. The cursor jumps to the last cell Excel believes is in use. If that is far from your data, delete the empty rows and columns below and to the right of your table, using the right-click Delete, not the Delete key, then save.

A print area can also be the cause. Under Page Layout, Print Area, choose Clear Print Area, and see if the export changes. A print area that is set on empty cells gives a blank page. The same goes for a sheet that is hidden, or one where all the content is in white text.

Page Break Preview, under the View tab, shows how Excel splits the sheet. Blue lines show you where each page begins. If you see dozens of pages for a small table, something is stretching the used range.

Error messages about the document not being saved

Excel's usual message is that the document was not saved, and that the document may be open or something is preventing it from being saved. Read it literally. The PDF with the same name may be open; the folder may be read-only; the antivirus or a sync tool may be holding the file; or the path may be too long.

Try saving under another name in another folder. If that works, the old location was the problem. If it does not, check that you have space on the disk, and that the file name has no characters that Windows does not allow, such as a slash, a colon or a question mark.

If a workbook is protected or has sheets that are locked, the export of the visible cells normally still works. If it does not, the cause is more likely the print setup, covered below.

The printer driver and the page setup

Excel works out how big a page is by asking the default printer. If that printer is a network printer that is offline, or a driver that is broken, Excel can freeze or take minutes to open Page Layout and to export. A quick test is to change the default printer to Microsoft Print to PDF in Windows settings, and try again.

If Page Layout or Print Preview is slow even before you export, that points to the printer rather than to your file. Removing a printer that no longer exists, or updating its driver, often cures a hang that looked like an Excel fault.

On a Mac the same idea applies: the Page Setup and the default printer affect the layout. Choose a standard paper size, such as A4 or Letter, and try again.

Add-ins, repair and updates

An add-in can break the export, especially one that adds its own PDF button or hooks into saving. Start Excel in safe mode by holding Ctrl while you open it, and try the export there. If it works, one of your add-ins is the cause. Under File, Options, Add-ins, choose Manage COM Add-ins and Go, and switch them off one by one.

If safe mode does not help, update Office from File, Account, Update Options, and then use a repair. In Windows this is in Settings, Apps, under the Microsoft Office entry, with the Modify choice and Quick Repair. Online Repair takes longer and goes deeper. Do a quick one first.

Do not install a third-party driver or a download from a page that promises to fix PDF errors. The repair that comes with Office is enough.

A very large workbook

A workbook with many sheets, thousands of rows, many pictures or heavy formulas can take a long time to turn into a PDF, and on a low-memory computer it can stop. Export one sheet at a time, selecting only the sheets you need before you save. Delete sheets with rough working, and remove pictures you do not need.

If the workbook is full of formulas that recalculate, switch calculation to manual for the export, or copy the sheet and paste it as values into a new file. The PDF then comes from plain cells, which is lighter.

A big PDF is hard to send. After exporting, you can make it smaller with the Compress tool on the result.

The browser route, and what it leaves out

If Excel will not cooperate, or you do not have Excel on that computer, the spreadsheet can be converted in a browser. EditFlip reads the file itself and writes the PDF on your device, so there is no printer driver and no add-in involved. It takes .xlsx, .xlsm, .xls, .csv and .ods files up to 100 MB.

It is a plainer PDF. Every sheet is drawn as a table with thin grey lines, and a wide table is shrunk to fit the page width. Formulas show their results. Cell colours, fonts, charts, pictures and Excel's own print settings, such as a print area or repeated header rows, are not carried over. Hyperlinks do not stay clickable either.

If your file needs a password to open, open it in Excel first and save a copy without the password, if you are allowed to. For colours, charts and a layout set up exactly as you want, the export from Excel is still the right tool, so the fixes above are worth trying.

When the export from Excel fails, EditFlip makes the PDF in your browser without a printer driver or an add-in: every sheet as a table, fitted to the page width, in seconds. It is free, needs no account, and the file stays on your device.

Convert Excel to PDF on EditFlip →

Questions

Why does Excel say the document was not saved when I make a PDF?

Usually a PDF with the same name is open, the folder is read-only or synced, or the path is too long. Save to the Desktop under a short name and try again.

Why is my PDF empty or full of blank pages?

Excel thinks the sheet is bigger than it looks, or a print area is set on empty cells. Press Ctrl and End to find the last used cell, delete the extra rows and columns, and clear the print area.

Why does Excel freeze when I export to PDF?

Often the default printer is offline or its driver is broken, since Excel asks the printer about the page. Set Microsoft Print to PDF as the default and try again.

Can an add-in stop the PDF export?

Yes. Start Excel in safe mode by holding Ctrl while opening it. If the export works there, switch off add-ins one by one.

How do I convert Excel to PDF without Excel?

Open editflip.com/excel-to-pdf, choose the spreadsheet and download the PDF. It is made in your browser, with a plainer look than Excel's own export.

Does the browser route keep my colours and charts?

No. It writes the values as a plain table. Cell colours, fonts, charts, pictures and Excel's print settings are not kept.

Is the spreadsheet uploaded when I convert it on EditFlip?

No. The PDF is made in your browser, on your device.

What is the file size limit?

A file can be up to 100 MB.

Do it right in your browser.
Free, no account. Your files stay on your device.
Convert Excel to PDF