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

Spell Checking Forms

Word may be used to create protected forms that limit where the user may input data. Normally spell checking is disabled ...

Discover More

What If a Table Row Cannot Be Displayed on One Page?

Word allows you to configure tables so that rows don't span more than a single page. What happens, though, if the row is ...

Discover More

Highlighting Cells Containing both Letters and Numbers

Conditional formatting is a great tool for changing the format of cells based on whether certain conditions (rules) are ...

Discover More

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!

More ExcelTips (ribbon)

Using Drag-and-Drop to Create a Hyperlink

If you open workbooks in two instances of Excel, you can use drag-and-drop techniques to create hyperlinks from one ...

Discover More

Enabling Macros for an E-mailed Workbook

When you send a macro-enabled workbook to someone, that person may have problems opening and using it. This tip looks at ...

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
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 7 + 9?

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.