ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hyperlink stored in an external workbook (https://www.excelbanter.com/excel-discussion-misc-queries/165922-hyperlink-stored-external-workbook.html)

Tony Starr

Hyperlink stored in an external workbook
 
I have a situation where I have a central workbook called "shared" which is
used to maintain links to policy documents. The "shared" workbook is
referenced by hundreds of user workbooks that need to have a hyperlink to
the latest policy document.

In each of my user workbooks I set cell a1 = Shared!mPolicy1 where mPolicy1
is a hyperling to a word doucument.
In cell b1 of my user workbook I have the formula =Hyperlink(a1).

This works nicely.
The problem is if the hyperlink stored in mPolicy1 of the shared workbook
contains a subaddress the following error occurs when clicking on b1 in the
user workbook

"Cannot open the specified file".

Any idea how I can implement the hyperlinks with subaddresses?

TIA
Tony



Gary''s Student

Hyperlink stored in an external workbook
 
I:
1. entered:
file:///c:\documents and settings\owner\desktop\ballon.doc
in cell C3 in Shared.xls

2. named C3 as mPolicy1

3. entered:
= Shared.xls!mPolicy1
in cell A1 in user.xls
( this displayed that same hyperlink, but was "cold")

4. entered:
=Hyperlink(A1)
in cell A2 in user.xls
( same display, but "clickable")

Word doc opens with no problem.

--
Gary''s Student - gsnu2007a


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com