Excel opening linked files / data connections if source file is currently open

baadams

Board Regular
Joined
Mar 2, 2006
Messages
134
Currently I've got a n Excel workbook with 3 external data sources. 2 of those sources are data dumps from SAP/BOBJ and I don't have an issue. The 3rd data connection is another Excel file used my multiple other users. The 3rd file is the issue, if someone has it open when the data connection refreshes it opens that file. The issue being that source file has a macro prompt to run some VBA. So when I try and refresh the data connection within the current workbook each time it opens the source file and starts the prompt to run the VBA. It's pretty inconvenient that this file opens and makes the user answer a few prompts, just to close the file without saving it.

Is there a way to keep this file from opening even if I want the data within the current workbook to be refreshed from the source file if someone has it open? This seems like a simple issue, that has me stumped.

I've tried eliminating the data connection and linking directly to the data I need, but it does the same thing.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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