Refresh Excel Power Query When the Source Workbook Is Open
Question details
Find a reliable way to refresh an Excel Power Query when its source workbook is being edited or locked by another user.

- 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.
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.
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.
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.
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.
Select Data > Refresh All and confirm that the expected tables and values load.
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.
Move the query source to a managed data location
Use a database, SharePoint data source, or controlled export when multiple users need a more reliable shared source.
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.

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.




