Power Query Problems

Refresh Excel Power Query When the Source Workbook Is Open

Rana GarciaRana Garcia Dec 2, 2026 869 views

Question details

Find a reliable way to refresh an Excel Power Query when its source workbook is being edited or locked by another user.

Refresh Excel Power Query When the Source Workbook Is Open
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
An Excel query reads data from a workbook that another user may have open for editing.
Observed behavior
The refresh may fail when the source file is locked or unavailable for a consistent read.
Before you start

Check the refresh error and confirm the source path under Data > Get Data > Data Source Settings. Ask the workbook maintainer whether the file is being edited, locked, or moved.

Solution 1Recommended

Refresh from a stable copy of the source workbook

Use a separately saved workbook when the actively edited source is unavailable or locked.

An open workbook does not always block a refresh; access depends on the file location, permissions, and how the workbook is locked. A stable copy lets the query read a published version rather than a file currently being edited.

1
Publish a separate copy

Ask the maintainer to save the source workbook, then use File > Save As to create a separate copy in a location accessible to the query.

2
Point the query to the copy

In the destination workbook, select Data > Get Data > Data Source Settings, select the workbook source, and choose Change Source to enter the copy's path.

3
Refresh the query

Select Data > Refresh All and confirm that the expected tables and values load.

4
Set a publishing routine

Have the maintainer replace or regenerate the copy at the agreed path after saving changes, then use Data > Refresh All to load the new version.

The copy is a snapshot: The query will not see later edits until the maintainer publishes an updated copy. Making a file read-only does not by itself guarantee access to a locked workbook.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and compatibility with Excel files, making it easy to move everyday spreadsheet work between office suites. It does not resolve Microsoft Excel Power Query locking issues.

Open and edit Microsoft Excel XLS and XLSX filesReview source spreadsheet data in a familiar interfaceUse a lightweight suite for everyday document and spreadsheet workMove compatible office files between suites without starting over
microsoft office alternative - wps office

Frequently Asked Questions

Can Power Query refresh an Excel workbook while someone has it open?

Sometimes. Whether refresh works depends on the file location, permissions, and lock state. If access fails, have the maintainer publish a separate saved copy and point the query to it.

Where can I change the source workbook path?

In Excel, go to Data > Get Data > Data Source Settings, select the source, and choose Change Source. You can also inspect the Source step in Power Query Editor.

Will making the source workbook read-only fix every refresh error?

No. Read-only access may help prevent editing conflicts, but it does not override a lock or missing permissions. Use a separately published copy if the active workbook remains unavailable.

How do I make sure the query reads the latest published data?

Ask the maintainer to save changes and update the staging copy at the agreed path. Then select Data > Refresh All in the destination workbook.