Unexpected Error Exporting a PDF

Written by Allen Wyatt (last updated February 5, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


Anne edits technical reports and regularly turns large documents into PDFs with no problems. (She uses File>Export>Create PDF.) Anne recently tried this with a fully edited 30-page document and all she gets is "The export failed due to an unexpected error." She hasn't seen this error before, and it seems spectacularly unhelpful to her. Anne tried resaving the document under a different name, but no luck. She wonders how she can track down what might be causing the problem.

If you are creating PDFs for other documents using this same process, it sounds like the problem is with this particular document. More than likely it is a problem with a corrupt graphic or some specific document element (table, font, object, etc.) that the converter cannot handle.

There is a troubleshooting process you can go through to track down the specific problem. In Windows, make two copies of the problem document. In the first copy, delete the second half of the document, and in the second copy delete the first half. If one of those can be converted and the other cannot, you now know where the problem lies. Take the half that cannot be converted and follow the same process—two copies, delete half of each, and convert again. Keep this up until you get all the way down to a single page that cannot be converted. That will tell you where the problem lies, and you can then fix it in the original document.

There may be other solutions, as well. One is to change the way you are generating your PDF files. Instead of relying on Word to do the conversions, you could simply use a PDF printer driver. If you are using Windows 10, this is easy—choose "Microsoft Print to PDF" as your printer, and you can let Windows create the PDF for you. Since it uses a different method of creating the PDF than the one used by Word, there is a good chance you will get a different (and hopefully satisfactory) result. If you aren't using Windows 10, there are any number of PDF printer drivers available through an internet search, many of them free.

Finally, if you are generating PDFs routinely (weekly or even daily), you may want to consider investing in Adobe Acrobat. It gives you capabilities with your PDF files that you cannot find in other tools. Adobe products tend to be a bit pricey, but they are definitely worth it if the output you create (PDFs) are critical to the work you do.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13645) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Drawing a Table

There are several ways you can create tables in a document, but one of the most unique (and perhaps most fun) is to ...

Discover More

Printing Comments

Comments can be a boon when you want to annotate your worksheets. If you want, you can instruct Excel to print the ...

Discover More

Saving an Envelope for Future Use

It can take a while to get an envelope to appear just the way you need. Why throw your work away when you are done with ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Unlinking an Excel Chart Automatically

When Excel charts are linked in a Word document, they update every time the document is opened. Here's how to unlink the ...

Discover More

Converting a PDF File to a Word Document

PDF files seem to be everywhere; they are a standard way of exchanging documents with others. At some point you may want ...

Discover More

Embedding an Excel Worksheet

Word and Excel are both integral parts of Microsoft's Office suite of applications. As such, Word allows you to embed ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.