14
votes

Is there a way to add a hyperlink to text only and not the entire cell in Excel 2010?

I am only able to insert a hyperlink which affects the entire cell (even white space after the text), but I wish to have it so that a user can click on the non-hyperlinked section of the cell in order to select the cell without activating the hyperlink.

Is this possible (ideally without VB)?

Many thanks.

5

5 Answers

5
votes

I'm not sure.. I just wrote this, but it acts the same as adding a hyper reference (although you can still select the whitespace of a cell (after the text has finished) and it won't follow the link)

=CONCATENATE("This is your ", HYPERLINK("http://www.google.com","Google"), " link")

Just as a FYI, you can hold ALT key and click on a cell without it opening the URI

4
votes

I got over this by turning off the "wrap text" from the cell formatting.

3
votes

really, if you have wrap text turned on, the whole cell will act as a hyperlink. if you have wrap text turned off, only text will act as a hyperlink.

0
votes

An indent (Home → Alignment → Indent: 1) makes the entire cell a hyperlink.

-1
votes

It's a very odd thing. If I link to a .doc or docx document, only the text is linked. If I link to a .txt document, the whole cell is a link. I think it's just an odd excel glitch.