logo
search
Office for Mac Issues

How to Fix Word Mail Merge Cannot Open Data Source Error on Mac

John WilsonJohn Wilson Oct 21, 2026 868 views

Question details

The user is experiencing a "Cannot open data source" error when attempting to perform a mail merge in Microsoft Word for Mac using an Excel spreadsheet.

Fix Word Mail Merge "Cannot Open Data Source" Error on Mac
Product
Microsoft Word
Device & OS
macOS
Scenario
Attempting to link an Excel workbook as a data source for a mail merge document.
Observed behavior
Microsoft Word throws an "Error! Cannot open data source" message and fails to connect to or read the linked Excel file.
Before you start

Make sure both your Word document and your Excel data source file are saved locally on your Mac (e.g., in your Documents folder) rather than on a cloud drive to prevent syncing or path access conflicts during the merge.

Solution 1Recommended

Save the Excel Data Source as a CSV File

Bypasses Mac-specific Excel connectivity issues by using a universally readable text format for the data source.

On macOS, Word sometimes struggles to communicate securely with Excel due to sandboxing restrictions. Converting your data source to a Comma Separated Values (CSV) file removes complex formatting and allows Word to read the data directly without needing to interface with the Excel application.

1
Open the Data Source in Excel

Launch Microsoft Excel and open the workbook you are trying to use for your mail merge.

2
Save as CSV

Click on 'File' > 'Save As' from the top menu bar. In the 'File Format' dropdown menu, select 'CSV UTF-8 (Comma-delimited) (.csv)' and save it to the same folder as your Word document.

3
Select the CSV in Word

Open your Word document, go to the 'Mailings' tab, click 'Select Recipients', and choose 'Use an Existing List'. Locate and select your newly created CSV file.

Save the Excel Data Source as a CSV File
Data Compatibility: Using a CSV format usually resolves underlying DATABASE field syntax issues automatically, making it the most reliable workaround for Mac users.
Seamless Mail Merge on Mac

Effortlessly Perform Mail Merge with WPS Office for Mac

Avoid complex DATABASE field errors and file path issues by using WPS Office. Its built-in Mail Merge feature seamlessly connects with spreadsheets, offering a smooth and intuitive experience for Mac users without the hassle of syntax errors.

  1. 1. Open Your Document in WPS Writer: Launch WPS Office on your Mac, open your letter or template in WPS Writer, and navigate to the 'Mailings' tab on the ribbon.
  2. 2. Connect Your Spreadsheet: Click 'Open Data Source' and select your Excel (.xlsx) or CSV file. WPS Office connects to it natively without triggering database access errors.
  3. 3. Insert Merge Fields: Use the 'Insert Merge Field' button to easily place your column headers (like Name or Address) exactly where you want them in the document.
  4. 4. Complete the Merge: Click 'Merge to New Document' or 'Merge to Printer' to quickly generate your personalized batch of documents.
Fully compatible with Microsoft Word (.docx) and Excel (.xlsx) formatsIntuitive Mail Merge wizard with no complex coding or path mapping requiredLightweight architecture that runs flawlessly on macOSFree to use for everyday document, spreadsheet, and presentation tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word for Mac struggle with Excel data sources during mail merge?

Word for Mac operates under Apple's sandboxing rules, which restricts how applications communicate with each other. Sometimes the specific OLE DB drivers fail to securely bridge the connection between Word and Excel, resulting in the 'Cannot open data source' error.

Can I use Apple Numbers instead of Excel for a Word mail merge?

No, Microsoft Word cannot directly read Apple Numbers (.numbers) files as a data source. You must first open your spreadsheet in Numbers, select 'File' > 'Export To', and choose either 'Excel' or 'CSV' before importing it into Word.

What does the DATABASE field code look like for a CSV on a Mac?

A standard CSV field code on Mac looks similar to: {DATABASE \d "path/to/YourData.csv" \l "15" \b "49" \h}. You can view and edit these underlying codes in your document by pressing Option+F9.