

Raw!A:A contains an index number that’s unique for each animal. That link can’t be extracted using the HLink() function that’s the subject of this talk page thread. With the last one only “mycert.pdf” is displayed and the underlying link URL is hidden. With the first three the URL is visible and can be extracted/used with VLOOKUP(). =HYPERLINK(“file://c:/certificates/mycert.pdf”,”mycert.pdf”) The answer is no, you can’t get the link URL using vlookup() if column H has the following: =HYPERLINK(“file://c:/certificates/mycert.pdf”) The answer is yes, you can get the link URL using vlookup() if column H has one of the following: I’ll assume column “H” on the raw sheet has the link to your certificate file. That depends on what you have on the raw data page. > Is it possible to have the hyperlink attached to the animal on the raw data page to follow it when that animal is picked up by a vlookup formula on another page?

_ Author Debra Dalgleish Posted on DecemJCategories Excel Formulas, Excel VBA There are written instructions, and videos, like this one. To learn more about adding and removing Hyperlinks, visit the Excel Hyperlinks and Hyperlink Function page on the Contextures website. To extract the Friendly Name, use a simple link to the cell: =B3 For example, to find the address for a hyperlink in cell B3, use this formula: =HLink(B3) Then, you can use the HLink function in that workbook, just like any other Excel function. If rng(1).Hyperlinks.Count Then HLink = rng.Hyperlinks(1).Address There’s no built-in function for that in Excel, but you can create your own, with a bit of VBA.Ĭopy the HLink code, shown below, into a regular module in your workbook. Instead of the Friendly Name, you might want to extract the hyperlink’s location. If you paste hyperlinks as values, what you’re left with is the “Friendly Name.” That’s the text you can see in the cell with the hyperlink, like “Sales Report” in the screen shot below. You can also clear all the hyperlinks on the active worksheet (thanks Eric and Rick). Copy this code into a regular module in your workbook, then select the cells, and run the delHyperlinks macro. In any version, to remove hyperlinks in a group of selected cells, you can run a macro, like the one below.

Here’s how to get the URL from an Excel Hyperlink. Mike’s article showed how versatile the HYPERLINK function can be, and you also learned about Mike’s unique talent for poetry. Last week on the Bacon Bits blog, Mike Alexander showed how to send an email with the HYPERLINK function in Excel, complete with subject line and message.
