Refresh Microsoft Query Tables in Excel Without Local SQL Server
Question details
Determine whether an Excel workbook with Microsoft Query connections can refresh on another computer without SQL Server installed locally.

- Product
- Microsoft Excel and Microsoft Query
- Device & OS
- not provided
- Scenario
- A user wants query tables to refresh automatically when a workbook is opened on another computer.
- Observed behavior
- The desired outcome is for the workbook to connect to the database and refresh its query tables, with any required authentication.
Identify the database server, connection type, and authentication method used by the workbook. Confirm that the other computer can reach the database and has any required driver or data source configuration.
Configure the Excel connection to refresh on open
Use this approach when the database is hosted on a reachable server and the other computer has the required connection components.
SQL Server does not need to be installed on every computer that opens the workbook. The computer does need network access to the SQL Server instance, a compatible client driver, and an account authorized to access the database.
If the connection points to a SQL Server instance on the original computer, that instance must be running and reachable, or the connection must be changed to a reachable database server.
In Excel, open Data > Queries & Connections, right-click the relevant connection, and select Properties. Review its definition for the server, database, driver, and authentication settings.
Install the client driver required by the connection and configure its ODBC data source name if it uses one. Check that the driver matches the installed Excel architecture and that the server is reachable over the network or VPN.
In the connection's Properties dialog, open the Usage tab and select Refresh data when opening the file. If available and appropriate, select Enable background refresh so Excel can continue while the query runs.
Open the workbook on the other computer, allow trusted external content if prompted, and provide database credentials if requested. Use Data > Refresh All to test the connection and inspect any error message.

Troubleshoot connection and authentication errors
Use this approach if the workbook does not refresh after the connection is configured.
Work with Excel Workbooks in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and Excel-format compatibility, making it easy to move everyday spreadsheet work. Microsoft Query connection and automatic refresh behavior may differ from Excel, so verify those features before migrating a connected workbook.

Frequently Asked Questions
Does every computer need SQL Server installed to refresh the workbook?
No. A computer can refresh from a remote SQL Server without installing the server locally, provided it can reach the instance and has the required driver, connection configuration, and database access.
Where do I turn on refresh when the workbook opens?
In Excel, go to Data > Queries & Connections, right-click the connection, and select Properties. On the Usage tab, select Refresh data when opening the file.
Will refresh on open avoid a database login prompt?
Not necessarily. Excel may prompt for credentials if the connection cannot authenticate automatically. Windows authentication also requires the current user to have permission to access the database.
What happens if the original computer hosted the database?
The original SQL Server instance must be running and reachable from the other computer, unless the connection is changed to use another accessible server. Check the server name in the connection Properties.
Does background refresh update the workbook while it is closed?
No. Background refresh allows a supported query to run while Excel remains usable; it does not by itself schedule a refresh while the workbook and Excel are closed.




