File Format & Compatibility

How to Fix Word Mail Merge Failing to Open Excel XLSM Workbook

Khadija KhanKhadija Khan Nov 2, 2026 868 views

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.

How to Fix Word Mail Merge Failing to Open Excel XLSM Workbook
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 you start

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.

Solution 1Recommended

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.

1
Open the workbook

Launch Microsoft Excel and open your original XLSM workbook.

2
Access the Save As menu

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'.

3
Change the file format

In the file format dropdown menu, scroll down and select 'Excel Binary Workbook (*.xlsb)'.

4
Save the new copy

Choose a destination folder, ensure the file name is clear, and click 'Save'. Close Excel.

5
Connect in Word

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 the XLSM Workbook as an XLSB File
Keep the Original XLSM File: Retain your original XLSM file for any ongoing macro development or complex edits. Use the XLSB file strictly as the data source for your mail merge operations.

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. 1. Open WPS Writer: Launch WPS Office and open your main document in WPS Writer.
  2. 2. Access Mail Merge: Navigate to the 'References' tab on the top ribbon and click on 'Mail Merge' to reveal the dedicated toolbar.
  3. 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. 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. 5. Complete the Merge: Click 'Merge to New Document' or 'Merge to Printer' to generate your personalized documents instantly.
Easily connect spreadsheets to text documents for quick and stable mail mergingFully compatible with all major Microsoft Excel file formats including XLSX, XLS, and XLSMLightweight architecture that runs smoothly on both Windows and Mac OSIntuitive step-by-step Mail Merge wizard built directly into the word processor
microsoft office alternative - wps office

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.