Hi J.E,
I am well aware of how to open the file using the password argument BUT, I
do not want to open the file.
I only want the links to that file to be updated without me having to enter
the password upon opening a workbook called "Main".
That procedure I cannot find in any helps.
I currently use the following procedure to open the file if I want to open
it...... (but I need automatic updating of links to the workbook named
"Special" when I open the workbook named "Main".) I presume something
similar would be needed in the Private Sub Workbook_Open() event (but to not
open the file) only to update links/references without having to type in the
password.
Rob
Public Sub Special_Click()
Const PASSWORD = "password"
Workbooks.Open Filename:="c:\My Documents\Accounts - Me\Special.xls", _
PASSWORD:="password"
Windows("Special.xls").Activate
End Sub