Refresh Data opens Read Only File

RY_VT

Board Regular
Joined
Oct 31, 2015
Messages
80
Good evening,

I have a spreadsheet (lets call that the Main File) that has 5 connections that pull data from another file (lets call that the Data File). When I click "Refresh All", the data is pulled from the Data File into the Main File and all is well. When someone has the Data File opened on a different computer and the data is refreshed, the data is pulled as normal, however it opens the Data File in "Read Only" mode. Normally it does not open the file at all. This cannot happen as that Data File is not supposed to be seen by the user. Does anyone know a way to stop this from happening? It only happens when the Data File is opened, but it may be opened when the Main File is being used.

Connection string/Command Text for one of the 5 connections is below:

DSN=Excel Files;DBQ=F:\OPS\BOARD SHEETS\SP Data File.xlsx;DefaultDir=F:\OPS\BOARD SHEETS;DriverId=1046;MaxBufferSize=2048;PageTimeout=5;

SELECT `EMTs$`.EMTs
FROM `F:\OPS\BOARD SHEETS\SP Data File.xlsx`.`EMTs$` `EMTs$`


Thanks for the help!!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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