Written by Allen Wyatt (last updated June 5, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
Charles has a worksheet that includes hyperlinks to various web pages. Some of the links open the web page just fine, a couple others give a message "unable to open web page." On the links that don't work, Charles can copy the hyperlink from Excel directly into a browser and the page opens, so he knows the link is functional. This makes him wonder why some links work fine in Excel and others don't.
The first suspect is the actual hyperlink in Excel. You see, there are two parts to each hyperlink—the text displayed in the worksheet and the actual hyperlink itself. It is the hyperlink that Excel tries to open when you click on the text displayed in the worksheet. And, it is entirely possible that the text displayed, which may be a correctly formed URL, has an underlying hyperlink that is incorrect or not correctly formed. This would be why you could copy the hyperlink from the worksheet (what you are copying is actually the displayed text) and have it open correctly when you paste it into a browser.
To check this out, follow these steps:
Figure 1. The Edit Hyperlink dialog box.
When you do this, make sure that the URL in the Address box includes the correct protocol designation, either http or https, as appropriate for the target website. Remember that it is what is shown in the Address box that is important, not what is in the Text to Display box.
If your hyperlink is to folders, workbooks, or worksheets (not external websites), then you may want to check out this ExcelTip for some helpful information:
https://tips.net/T013403
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13868) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Got a single worksheet that you want to e-mail to someone, but don't want them to see the rest of the worksheets in the ...
Discover MoreHyperlinks to many types of Web sites rely on passing parameters in the URL. Knowing this, you can construct a dynamic ...
Discover MoreBefore some features in Excel can function properly, you must have the correct permissions set for the user of the ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments