Use Windows DSN-Less SQL Server Connections in Excel for Mac
Question details
Use a Windows-created Excel workbook with a DSN-less SQL Server ODBC connection on a Mac.

- Product
- Microsoft Excel 2016 for Mac
- Device & OS
- Mac
- Scenario
- A workbook created in Excel for Windows contains a SQL Server connection that stores its settings in a connection string rather than a DSN.
- Observed behavior
- The connection may not work in Excel for Mac, and its settings may be unavailable or disabled.
Check your Excel version under Excel > About Microsoft Excel and confirm that your Mac can reach the SQL Server. Identify the ODBC driver and authentication method required by the workbook; Windows-specific driver names or settings may not work on macOS.
Update Excel for Mac and edit the connection string
Use this approach when the workbook contains a PivotTable linked to the SQL Server connection and your Excel build allows connection editing.
Early Excel 2016 for Mac builds had limited SQL Server ODBC support. Newer builds may expose the connection properties, but support varies by Excel version and connection type.
In Excel, choose Help > Check for Updates and install any available updates. If that option is unavailable, check your organization's update method or Microsoft support guidance.
Open the workbook, click the connected PivotTable, and select PivotTable Analyze. Open the menu next to Refresh and choose Connection Properties.
On the Definition tab, review the connection string. If editing is enabled, replace Windows-specific driver references or other incompatible settings with values appropriate for a supported macOS driver and your SQL Server configuration.
Apply the changes, then select Refresh on the PivotTable Analyze tab. If prompted, enter the credentials required by your SQL Server.

Work with Excel files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Excel files, making it easier to move everyday spreadsheet work between office suites. It does not fix Excel for Mac's ODBC connection limitations, and SQL Server connection refresh may not be supported.

Frequently Asked Questions
Why doesn't a DSN-less connection from Windows work automatically on a Mac?
A DSN-less string contains connection settings, but it can still reference a Windows-only ODBC driver or authentication method. Excel for Mac must also support the connection type, and the Mac needs an appropriate driver and network access.
Where can I find the connection string in Excel for Mac?
Click the connected PivotTable, open PivotTable Analyze, and use the menu next to Refresh to select Connection Properties. Look for the connection string on the Definition tab if your Excel version exposes it.
What if Connection Properties is disabled?
Check Help > Check for Updates and try again. If the option remains unavailable, your Excel build may not support editing that connection type; ask your administrator about a supported connection or another way to access the data.
Can I convert multiple DSN-less workbooks to use a DSN?
The provided connection-editing method works on an individual workbook and does not establish a bulk conversion method. A DSN-based connection may require a compatible macOS driver and a configured DSN, and Excel support still depends on the connection type.




