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

Changing Toolbar Location

Toolbars don't need to be tethered to the top of your program window. Although they are right at home there, you may want ...

Discover More

Creating a Boilerplate Document

If you have several boilerplate documents you need to routinely use in Word, then you should learn how to use templates. ...

Discover More

Default Cell Movement when Deleting

Delete a cell or a range of cells, and Excel needs to figure out how to rearrange the void left by the deletion. You can ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Working with Document Links

Word makes it easy to establish links between documents. Here's how to change and manage those links easily.

Discover More

Embedding an Excel Chart in a Word Document

Word and Excel usually work pretty well together. This means that you can easily paste charts from Excel into your Word ...

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
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 four less than 7?

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.