Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default password & Links

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default password & Links

I would open workbookb.xls manually (with workbooka.xls closed)

Then I would use Bill Manville's FindLink program:
http://www.oaltd.co.uk/MVP/Default.htm

to see if there is a link to another file with the same name, but in a different
location.

(Just a guess.)

Martel wrote:

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?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default password & Links

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

Dave Peterson wrote:

I would open workbookb.xls manually (with workbooka.xls closed)

Then I would use Bill Manville's FindLink program:
http://www.oaltd.co.uk/MVP/Default.htm

to see if there is a link to another file with the same name, but in a different
location.

(Just a guess.)

Martel wrote:

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?


--

Dave Peterson


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default password & Links

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" wrote:

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

Dave Peterson wrote:

I would open workbookb.xls manually (with workbooka.xls closed)

Then I would use Bill Manville's FindLink program:
http://www.oaltd.co.uk/MVP/Default.htm

to see if there is a link to another file with the same name, but in a different
location.

(Just a guess.)

Martel wrote:

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?


--

Dave Peterson


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Protected Links Brenda from Michigan Links and Linking in Excel 2 December 22nd 08 05:23 PM
password protected workbooks with links between them Dez Excel Discussion (Misc queries) 2 June 27th 08 09:08 AM
Links to password protected workbooks Michelle Links and Linking in Excel 9 May 2nd 08 06:33 PM
Password Prompts for Links Aaron Excel Discussion (Misc queries) 0 October 5th 07 05:06 PM
Links to a workbook that is password protected Chuck M Excel Programming 0 May 14th 07 06:49 PM


All times are GMT +1. The time now is 06:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"