Use Contents of a Cell to Create a Hyperlink

T

TKS_Mark

I want to read the values from cell(s) in my currently selected row(s) and
use those to make a hyperline. For instance, the cell(s) in column T of my
current selection have a lookup formula to another sheet to determine the
range I'll use in my hyperlink. I want to use that value instead of
"InstrBooth_Plenum" in the example below, and place it into column U from
info retrieved from column T of the currently selected row(s).

Sub LinkTest()
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"InstrBooth_Plenum", TextToDisplay:="InstrBooth_Plenum"
End Sub
 
T

TKS_Mark

Nevermind. I'm making this too difficult. I just found the excel function
=hypelink().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top