How to Fix Word Mail Merge Failing to Open Excel XLSM Workbook
Question details
Users are unable to use an Excel macro-enabled workbook (XLSM) as a data source for Word Mail Merge due to connection errors.

- Product
- Microsoft Word and Excel
- Device & OS
- Mac and Windows
- Scenario
- Attempting to link an Excel data source to a Word document to execute a mail merge.
- Observed behavior
- Word Mail Merge fails to open, parse, or connect to the XLSM workbook, effectively preventing the mail merge setup from completing.
Before attempting to convert your file, ensure that your Excel workbook is fully closed and no active dialog boxes are preventing Word from establishing a data connection.
Save the XLSM Workbook as an XLSB File
Converting the macro-enabled workbook into an Excel Binary Workbook (XLSB) bypasses the Mail Merge compatibility issue while preserving data integrity.
While XLSM files store valid worksheet data alongside VBA macros, the Word Mail Merge connector sometimes struggles to parse their XML-based macro structure properly. This is particularly common in certain Mac environments.
Saving a copy of the document as an XLSB (Excel Binary Workbook) provides a highly compatible format for the Mail Merge engine to read, ensuring the connection establishes quickly without losing any spreadsheet data.
Launch Microsoft Excel and open your original XLSM workbook.
Click on the 'File' tab in the top-left corner and select 'Save As' from the menu. On a Mac, you can go to the top menu bar, click 'File', and choose 'Save As'.
In the file format dropdown menu, scroll down and select 'Excel Binary Workbook (*.xlsb)'.
Choose a destination folder, ensure the file name is clear, and click 'Save'. Close Excel.
Open your Microsoft Word document, navigate to the 'Mailings' tab, click 'Select Recipients', and choose 'Use an Existing List'. Select the newly created XLSB file.

Save as Standard XLSX (If Macros Are Not Needed)
If the data source file does not actively require macros to function during the merge, converting it to a standard Excel Workbook (XLSX) offers the highest compatibility.
Perform Seamless Mail Merges with WPS Office
WPS Office offers a robust and highly compatible Mail Merge feature that seamlessly connects WPS Writer with Spreadsheet data. You can effortlessly manage your data sources without worrying about complex file format conversions or connection errors.
- 1. Open WPS Writer: Launch WPS Office and open your main document in WPS Writer.
- 2. Access Mail Merge: Navigate to the 'References' tab on the top ribbon and click on 'Mail Merge' to reveal the dedicated toolbar.
- 3. Connect Data Source: Click 'Open Data Source' and select your Excel or WPS Spreadsheet file. WPS Office natively parses the data without format errors.
- 4. Insert Merge Fields: Place your cursor where you want the data to appear and click 'Insert Merge Field' to add your spreadsheet column headers.
- 5. Complete the Merge: Click 'Merge to New Document' or 'Merge to Printer' to generate your personalized documents instantly.

Frequently Asked Questions
Why does Word Mail Merge specifically struggle with XLSM files on Mac?
On Mac OS, Microsoft Word relies on specific Apple OLE DB providers and internal converters that occasionally struggle to parse the complex XML-based macro structure of XLSM files, leading to connection timeouts or unexpected 'file in use' errors.
Will I lose my macros if I save my workbook as an XLSB file?
No, the Excel Binary Workbook (XLSB) format fully supports and retains macros. However, if you are only using the file as a data source for Mail Merge, those macros will simply remain dormant during the merge process.
Do I need to change my column headers when converting the file?
No, you should keep your worksheet layout and column headers exactly the same. The Mail Merge engine uses the first row of your data source to identify the merge fields, so altering the headers will break your existing merge layout.
Can I use a CSV file instead of an Excel workbook for Mail Merge?
Yes. If your data is strictly text and numbers without complex formatting, saving your Excel file as a CSV (Comma Separated Values) is an excellent alternative. CSV files are lightweight and have universal compatibility with Mail Merge tools.




