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

Highlighting Pattern Violations

A common part of working with text strings in a worksheet is normalizing those strings so that they follow whatever rules ...

Discover More

Setting a Document Naming Convention

Want your document file names to follow a specific naming convention? Word doesn't provide a direct way to set up your ...

Discover More

Separating Text by Color

Excel allows you to use multiple colors to format the text in a cell. If you want to later separate that text to ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!

More ExcelTips (ribbon)

Setting Web Fonts

Is your worksheet information destined for a Web page? Here's how you can specify the fonts that should be used when ...

Discover More

Pasting a Hyperlink

Need a quick link within a document to some external data? You can paste information so that Excel treats it just like a ...

Discover More

Deleting a Hyperlink

Hyperlinks can be helpful in some worksheets but bothersome in others. Here's how to get rid of any hyperlinks you don't ...

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 one less than 2?

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.