Fix Microsoft Access Database Documenter XML Export Not Working
Question details
Users are unable to export Database Documenter output to XML from Microsoft Access when the report is actively open in Print Preview.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to export a database documentation report to an XML format.
- Observed behavior
- The XML export option is unavailable while in Print Preview and remains missing after closing the preview, although Word and HTML export options function normally.
Ensure you have saved all current modifications to your Access database objects before attempting alternative export scripts or closing the documenter.
Use an Alternative Supported Export Format
Since direct XML export from Print Preview is unsupported for the Database Documenter, you must export the report to an alternative supported format first.
Microsoft Access restricts certain export capabilities when complex documentation reports are generated in Print Preview. To work around this, you can export the data to HTML or a standard text format, which can then be processed into XML if strictly required by your workflow.
Click the 'Close Print Preview' button on the ribbon to exit the current view of the Database Documenter report.
Navigate to the Navigation Pane and ensure the table, query, or report you were documenting is selected.
Go to the 'External Data' tab on the Access ribbon, locate the 'Export' group, and select 'Text File' or 'More' > 'HTML Document'.
Follow the on-screen prompts in the Export Wizard to save the file to your desired destination.

Create a Custom XML Export using VBA
Advanced users can write a Visual Basic for Applications (VBA) script to export database definitions to XML, bypassing the Documenter UI entirely.
Boost Your Productivity with WPS Office
While Microsoft Access is built for complex databases, WPS Office offers a free, lightweight, and highly compatible alternative for your daily document, spreadsheet, and presentation needs. Experience a familiar interface and seamless migration from MS Office without the hefty subscription fees.

Frequently Asked Questions
Why does the XML export option disappear in Access Print Preview?
Microsoft Access disables certain export formats, including XML, during Print Preview for Database Documenter reports due to native formatting constraints and compatibility issues with how the documenter structures data.
Can I export Access Database Documenter reports to Word?
Yes, exporting the documentation to a Word-compatible format (.rtf) or HTML is fully supported and these options typically remain available in the External Data tab.
Are there third-party tools to document Access databases in XML?
Yes, several specialized database documentation tools and add-ins can connect directly to your Access database to generate comprehensive XML reports, bypassing the native Documenter entirely.




