PDF Conversion Issues

Fix Missing or Unsearchable Text in Word 2010 PDF Exports

Huma Ashraf ChHuma Ashraf Ch Nov 25, 2026 868 views

Question details

The user needs text in a PDF exported from Word 2010 to be selectable, searchable, and copied correctly.

Fix Missing or Unsearchable Text in Word 2010 PDF Exports
Product
Microsoft Word 2010
Device & OS
not provided
Scenario
A Word document is exported to PDF, and its text is later searched, selected, or copied.
Observed behavior
Some PDF text cannot be selected or searched correctly, and copying all text may produce repeated content and gaps.
Before you start

Check whether the PDF is created by a macro or other code using Word's ExportAsFixedFormat method. Save the source Word document in a local folder before running the example macro.

Solution 1Recommended

Disable document structure tags when exporting with Word 2010

Use this solution when a macro or application creates the PDF with ExportAsFixedFormat.

Setting DocStructureTags to False can resolve text selection and search problems in affected Word 2010 PDF exports. This setting applies to the export call, not automatically to PDFs created through Save As.

1
Open the export code

In Word 2010, open the source document and press Alt+F11 to open the Visual Basic Editor. Open the module containing the ExportAsFixedFormat call, or choose Insert > Module to create a test macro.

2
Set the export option

Add DocStructureTags:=False to the existing ExportAsFixedFormat call. For a test macro, enter: Sub ExportTestPDF() ActiveDocument.ExportAsFixedFormat OutputFileName:=ActiveDocument.Path & "\export.pdf", ExportFormat:=wdExportFormatPDF, DocStructureTags:=False End Sub

3
Export and test the PDF

Run the macro from the Visual Basic Editor using Run > Run Sub/UserForm. Open export.pdf from the document's folder, then search for a known phrase and copy and paste several passages to check the results.

Disable document structure tags when exporting with Word 2010
Accessibility limitation: Disabling document structure tags can reduce PDF accessibility for screen readers. Test the resulting PDF against your accessibility requirements before distributing it.
Free Microsoft Office alternative

Try WPS Office for Word-to-PDF conversion

WPS Office is a free, lightweight alternative with a familiar interface for opening Word documents and exporting them to PDF. It offers a separate conversion workflow but does not change or fix Word 2010's export method.

Export Word documents to PDF using a separate workflowCompatible with Microsoft Word DOC and DOCX filesFamiliar document-editing interface for an easier transitionFree and lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Where do I set DocStructureTags to False?

Set it in the ExportAsFixedFormat call in the macro or application that creates the PDF. In a Word VBA macro, use the named argument DocStructureTags:=False.

Does this change PDFs I already exported?

No. Run the updated export code to create a new PDF, then search and copy text from the new file to verify the result.

Will the macro setting change Word's Save As PDF behavior?

No. DocStructureTags:=False applies to the ExportAsFixedFormat call where you specify it; it does not automatically change exports made through Save As.

What is the trade-off of disabling document structure tags?

The exported PDF may be less accessible to screen readers because it lacks document structure tags. Check the PDF against your accessibility requirements before sharing it.