Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Links to Hyperlinks.
by Allen Wyatt
(last updated July 10, 2020)
John has two workbooks which, for convenience, we'll call A and B. In workbook A at cell C3 on Sheet1 there is a hyperlink to a Word document. In workbook B there is a link to Sheet1!C3 in workbook A. In workbook A the hyperlink is active; in workbook B it is not. John wants to know if there is a way to make the referenced (linked) hyperlink active in workbook B.
The answer depends on several factors. If you create a link to Sheet1!C3 in workbook A (not a hyperlink), then it is not possible. If you create a hyperlink, then it is possible, provided you put your original hyperlink—the one in workbook A—together in the proper manner.
When you create a hyperlink to the Word document, you have the opportunity to create a "display" value for the link. This display value is what is shown in the worksheet, while the underlying hyperlink is something else entirely. For instance, you could have a display value of "Quarterly Report," which is what people would see in the workbook. When someone clicks on the text, then the actual report (such as c:\MyDocs\Q410.doc) is actually opened.
If you use a display value that is different from the full hyperlink address, then there is no way to put together a formula that will be active. If, however, you don't specify a display value, Excel will display the actual hyperlink address in the cell. If this is the case, then you can use the following formula in workbook B:
This works because the INDIRECT function grabs the info displayed at Sheet1!C3 of workbook A, and then uses it as the address for the HYPERLINK function. Again, this only works if the info displayed at Sheet1!C3 of workbook A is an address, not a display value for a hyperlink.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3168) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Links to Hyperlinks.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
In Excel, a hyperlink consists of two parts: the text displayed for the link and the target of the link. You can use a ...Discover More
Connect your worksheets with other workbooks or with the world of the Internet. The ability to add hyperlinks makes this ...Discover More
If you open workbooks in two instances of Excel, you can use drag-and-drop techniques to create hyperlinks from one ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.