Fix Word Mail Merge Errors with Macro-Enabled Excel Workbooks
Question details
Resolve a Word mail merge error when using a macro-enabled Excel workbook as the recipient list.

- Product
- Microsoft Word and Microsoft Excel
- Device & OS
- not provided
- Scenario
- A Word mail merge document uses an Excel macro-enabled workbook as its data source.
- Observed behavior
- Word reports that the workbook contains unreadable content and cannot be opened.
Locate the current workbook and try opening it directly in Excel to check whether the file itself opens. Confirm that the recipient data is on a worksheet with clear column headers.
Reconnect the Excel workbook as the Word data source
Use this method if the workbook was moved, renamed, or opens normally in Excel.
Open the mail merge document in Word. If an SQL prompt appears for an outdated or untrusted data connection, select No to open the document without connecting to that source.
Go to Mailings > Select Recipients > Use an Existing List, browse to the current .xlsm workbook, and select Open.
In the table selection dialog, choose the worksheet containing the recipient list and confirm that the first row contains headers if applicable.
Select Mailings > Preview Results to check the recipient records, then save the Word document.

Repair or rebuild the macro-enabled Excel workbook
Use this method if the workbook also fails to open in Excel or may be corrupted.
Update Office or test an Excel Binary Workbook
Try these options if the workbook opens in Excel but Word still cannot connect to it.
Work with documents and spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents and spreadsheets. Its format compatibility can make migration easier, although it does not repair Word's mail merge connection.

Frequently Asked Questions
Can Word mail merge use an .xlsm workbook?
Yes. A macro-enabled Excel workbook can be used as a mail merge data source, so converting it is not normally necessary. In Word, select it through Mailings > Select Recipients > Use an Existing List.
What should I do if the recipient workbook was moved?
Open the Word document without connecting to the old source if necessary, then go to Mailings > Select Recipients > Use an Existing List and browse to the workbook's current location.
How can I check whether the workbook is corrupted?
Try opening it directly in Excel. If it fails, go to File > Open > Browse, select the file, and choose Open and Repair from the arrow next to Open.
Should I allow the SQL command when Word opens my merge document?
Allow it only if you trust the document and its data source. Select No if the connection is outdated or untrusted, then reconnect the correct workbook from the Mailings tab.
Will saving as .xlsb always fix the connection?
No. Saving an Excel Binary Workbook through File > Save As is a troubleshooting option, not a guaranteed fix. Word's ability to connect can depend on the installed Office data components.




