Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Links to Hyperlinks.

Links to Hyperlinks

Written by Allen Wyatt (last updated March 7, 2026)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


1

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:

=HYPERLINK(INDIRECT("'[A.xls]Sheet1'!$C$3"))

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 (9781) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Links to Hyperlinks.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Filling Table Cells with a Macro

Want to stuff a value into each cell of a table? You can either type the value over and over and over again, or you can ...

Discover More

Smoothing Out Data Series

One way you can make your charts look more understandable is by removing the "jaggies" that are inherent to line charts. ...

Discover More

Minimizing the Ribbon for a Document

Want the ribbon to be minimized for a particular document? Word may not allow you to get the exact result you want, as ...

Discover More

Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!

More ExcelTips (ribbon)

Removing Some Hyperlinks

Removing hyperlinks from cells one at a time can be tedious. If you want to remove hyperlinks from a group of selected ...

Discover More

Retrieving Web Query Data without Interruption

If you use Excel's Web Query tools to grab data from a website, you may run into some problems if the site isn't ...

Discover More

Hyperlinks No Longer Work in a Workbook

Hyperlinks can be a great timesaver and very convenient. Unless, of course, if they don't work as you expect. This tip ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is nine minus 5?

2026-03-10 12:06:52

J. Woolley

If John has a Ctrl+K hyperlink (not a formula using the HYPERLINK function) at cell C3 on Sheet1 of workbook A, then any cell in workbook B with this formula
    =HyperlinkLink([A.xlsx]Sheet1!C3)
will acquire a duplicate of that hyperlink. When John clicks on a cell containing that formula in workbook B, the hyperlink at cell C3 on Sheet1 of workbook A will be followed; i.e., John's request is satisfied by the HyperlinkLink user-defined function (UDF).
Here's the HyperlinkLink UDF package, which should be located at the beginning of a standard VBA module:

Private oCell As Range, sAddr As String

Function HyperlinkLink(Target As Range)
    Set oCell = Application.ThisCell
    If oCell.Hyperlinks.Count > 0 Then oCell.Hyperlinks.Delete
    With Target.Cells(1)
        If .Hyperlinks.Count > 0 Then
            sAddr = .Hyperlinks(1).Address
            If Len(.Hyperlinks(1).SubAddress) > 0 Then _
                sAddr = sAddr & "#" & .Hyperlinks(1).SubAddress
            Application.Evaluate "HyperlinkLink_AddLink()"
            HyperlinkLink = .Value
        Else
            HyperlinkLink = CVErr(xlErrNA)
        End If
    End With
End Function

Private Sub HyperlinkLink_AddLink()
    oCell.Hyperlinks.Add oCell, sAddr
End Sub

Notice Application.Evaluate enables the UDF to do something that is otherwise prohibited by Excel.
This version of the UDF requires the following: If a HyperlinkLink formula is in workbook B and its argument Target is in workbook A and Target's hyperlink points to a file (like .xlsx or .docx), then workbooks A and B must be in the same folder or they must be the same workbook; otherwise, the path to the hyperlink's file will probably require adjustment. If workbooks A and B are not the same, then both should be open; otherwise, the value returned by HyperlinkLink will be compromised.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.