Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Create HTML code for a hyperlink from cell contents
I would like to create the HTML code for a hyperlink in a cell from the text contents of two other cells. I'm sure you know the HTML but here goes:
HTML Code... <a href="http://www.google.com"Google</a ...would produce a hyperlink to Google If the URL (http://www.google.com) is in cell A1 and the name (Google) is in cell A2 I want to populate cell A3 with the EXACT text <a href="A1"A2</a where the contents of A1 and A2 are displayed: <a href="http://www.google.com"Google</a I hope that makes sense, can you help me? |
#2
|
|||
|
|||
Quote:
A4: <a href=" A5: " A6: </a In A3 I then used =CONCATENATE(A4,A1,A5,A2,A6) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Have code check cell contents on edit. | Excel Worksheet Functions | |||
VBA code to copy cell contents from one sheet to another | Excel Worksheet Functions | |||
How do I create a hyperlink to a cell with the hyperlink function | Excel Worksheet Functions | |||
hyperlink using cell contents | Excel Worksheet Functions | |||
How do I display html code within a cell? | Excel Discussion (Misc queries) |