Refresh a Power Query While Data Sheet are Open and in Use

snaplink22

Board Regular
Joined
Jul 6, 2018
Messages
129
Hello,

I created a power query to pull data from three different workbooks with various tabs and tab names. When I attempt to refresh the sheet that the power query is in, while the source data workbooks are open, I get this error:

[DataSource.Error] The process cannot access the file (xxx location xxx) because it is being used by another process.

My query is pulling all the data successfully from the other data sheets, but these data sheets will be open all day and in use by others throughout the day. Is it possible to refresh my query and get updated results, with the understanding that any updates would require the changes made to the data sheets be saved first.?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
This used to work, but it doesn’t work now (for some reason). I don’t believe it is currently possible. If the file is on OneDrive, you may be able to connect to a copy of the file instead (just a thought)
 
Upvote 0
Thank you for your response Matt. Do you know of any other functions in native Excel that can perform what I'm looking to do?
 
Upvote 0
Thank you for your response Matt. Do you know of any other functions in native Excel that can perform what I'm looking to do?
Following up my reply, I can have it update through Refresh if it's just one workbook/tab though. Why would connecting multiple workbooks/tabs cause it not to refresh? They're all stored in the same file location.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,241
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top