VBA for auto-updating links that have passwords (without actually opening each file)

xcellrodeo

Board Regular
Joined
Oct 27, 2008
Messages
206
Good day, I was wondering if I could get some advice on the following.
I have an Excel workbook that has formulaic links to ca. 20 different workbooks (each p/w protected).
Every time I open the workbook to update all links I get 20 windows popping up asking for passwords.
So I have tried to address this by creating a Workbook.Open code. However it still opens 20 workbooks which causes it to crash.
However, the problem with this is that it appears to physically open each workbook (and if its read-only because someone else appears to have the file open at same time) it throws up a window asking for p/w to view read only.
Desired solution:
Is it possible to update all links without having to open each individual p/w protected linked workbook?
If so, what would be the code for this?

Thanks for your help.
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,731
Messages
6,126,537
Members
449,316
Latest member
sravya

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