Is it possible to place a hyperlink into a variable? For example: Cell A1 contains an internet hyperlink. I want to place that link into a variable which can later be placed back into another cell.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o>
Something like:
Dim X As String<o></o>
X = Range("A1").Value<o></o>
Range("A10").Value = X
<o> </o>
Of course, this only places the Value of A1 into A10. Not the hyperlink itself. I think I would need to use “PasteSpecial” but have not had luck in getting this to work. I am also sure I can not use “Value” as I believe that strips off all formatting etc..
<o> </o>
Any help in this matter would be much appreciated. Thank you in advance.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o>
Something like:
Dim X As String<o></o>
X = Range("A1").Value<o></o>
Range("A10").Value = X
<o> </o>
Of course, this only places the Value of A1 into A10. Not the hyperlink itself. I think I would need to use “PasteSpecial” but have not had luck in getting this to work. I am also sure I can not use “Value” as I believe that strips off all formatting etc..
<o> </o>
Any help in this matter would be much appreciated. Thank you in advance.