password & Links

M

Martel

Workbook A has been opened with a password.
Workbook A opens Workbook B from VBA code module with:
workbooks.open filename:="C:\excel\Workbook B.xls", password:="OPENME"
Workbook B has a link to a cel in Workbook A.
When Workbook B opens, I am prompted for the password for Workbook A, which
is already open. Can anyone explain this please?
 
M

Martel

My thanks to Dave Peterson. I tried Bill Manville's FindLinks utilty - very
useful, although it did crash Excel once - but no surprises. It found the
one valid link I was expecting - to Workbook A and in the correct location.

To prove the connection between the link and the password, I tried deleting
the link. That worked, but without the link, Workbook B is as good as
useless.

I see LauriS is working with a similar problem. I also tried the suggestion
in reply by Jim Cone to set UpdateRemoteReferences = false, but to no avail.

Conceptually, I see no reason not to open a password protected file from VBA
and have a link from that file to the first one. Give that Workbook A is
already open anyway, why should this be an issue?

I begin to suspect that this is a "design feature", colloquially known as a
bug, built into Excel by Microsoft which they have omitted to mention -
unless anyone out there knows different?

thanks again and still hoping

Martel
--
Martel


Dave Peterson said:
Or you could use Edit|Links (xl2003 menus) to look for the links, too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top