Data Import & Export

Refresh Microsoft Query Tables in Excel Without Local SQL Server

Rana GarciaRana Garcia Nov 22, 2026 868 views

Question details

Determine whether an Excel workbook with Microsoft Query connections can refresh on another computer without SQL Server installed locally.

Refresh Microsoft Query Tables in Excel Without Local SQL Server
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.
Before you start

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.

Solution 1Recommended

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.

1
Inspect the connection

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.

2
Prepare the other computer

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.

3
Enable refresh on open

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.

4
Test the workbook

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.

Configure the Excel connection to refresh on open
Automatic refresh may still require a login: Refresh on open starts the refresh but does not guarantee unattended authentication. Windows authentication requires an authorized account; other connection types may prompt for credentials or depend on how credentials are stored.
Free Microsoft Office alternative

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.

Open and edit Excel XLSX and XLS filesWork with spreadsheet tables in a familiar interfaceReview query results saved in a workbook without requiring ExcelUse a free, lightweight office suite for everyday documents
microsoft office alternative - wps office

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.