How to Fix MailMerge OpenDataSource Error in Word and Access
Question details
The user is unable to complete a mail merge from Microsoft Access to Word due to an OpenDataSource method failure.

- Product
- Microsoft Word and Access
- Device & OS
- not provided
- Scenario
- Initiating a mail merge process directly from Microsoft Access to generate populated documents in Microsoft Word.
- Observed behavior
- The process fails with the error message 'Method OpenDataSource of Object MailMerge failed,' and Word opens a blank document instead of the expected mail merge.
Before troubleshooting, ensure you have saved your Microsoft Access database and closed any blank instances of Microsoft Word running in the background.
Export Access Data to Excel (Recommended Workaround)
Bypassing the direct Access-to-Word COM connection by exporting your data to an Excel workbook provides a highly reliable data source for your mail merge.
Directly linking Access to Word can sometimes trigger COM object errors due to software updates or mismatched components. Using a standard Excel spreadsheet as an intermediary data source easily resolves this.
Open your database in Microsoft Access, select the specific table or query you want to merge, go to the 'External Data' tab, and click 'Excel' to export it as an .xlsx file.
Open Microsoft Word, create your document template, and navigate to the 'Mailings' tab on the ribbon.
Click 'Select Recipients', choose 'Use an Existing List', and browse your computer to select the Excel file you just exported.

Repair Microsoft Office Installation
Running an Office repair can fix corrupted installation files or broken registry keys causing the MailMerge object to fail.
Try WPS Office for Seamless Mail Merge Workflows
If complex COM errors and integration issues in Microsoft Office disrupt your workflow, consider switching to WPS Office. It provides a lightweight, unified environment where Writer and Spreadsheet work together flawlessly for easy mail merges.
- 1. Open WPS Writer: Launch WPS Writer and navigate to the 'References' or 'Mailings' tab to access the Mail Merge tools.
- 2. Import Data Source: Click 'Open Data Source' and select your exported spreadsheet containing the recipient list.
- 3. Complete the Merge: Insert your merge fields into the document and click 'Merge to New Document' to generate your files instantly.

Frequently Asked Questions
What exactly causes the OpenDataSource method to fail in Word?
This error is typically caused by corrupted Office registry keys, conflicting COM add-ins, mismatched 32-bit/64-bit Office versions, or background instances of Word locking the database connection.
Can I use CSV or TXT files for my Word mail merge?
Yes. If exporting to Excel still causes issues, you can export your Access table to a standard CSV (Comma Separated Values) or TXT file and select it via 'Use an Existing List' in the Word Mailings tab.
Will repairing Microsoft Office delete my personal files?
No, running a Quick Repair or Online Repair only replaces and fixes system installation files and registry entries. It will not delete or modify your documents, databases, or spreadsheets.




