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 2021


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 2021.

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

Including Section Numbers in an Index

When you use Word to create your index, you'll normally only include a page number in the index. If you want to create an ...

Discover More

Large Numbers in the MOD Function

There is a known bug in the MOD function that stops it from working with large numbers and small divisors. This tip ...

Discover More

Putting Template Macros in a Document

You can easily store your macros in a template. If you create a document based on the template and then the document is ...

Discover More

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

More WordTips (ribbon)

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

Reading a PDF Newsletter on a Cell Phone

Sometimes creating a Word document is just the first step. Often you'll want to then convert it to a PDF file that can be ...

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 7 - 4?

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.