Hyperlinking specific text in a cell (not the entire cell)

pjl

New Member
Joined
Sep 15, 2004
Messages
12
Dear All,

In MS Excel 2007, I have several cells that contain a paragraph of text; however, I do not want to hyperlink the entire cells' contents to point to a URL but, rather, just one or two words within the cell (similar to what you might see in MS Word). Is there a way to do this?

Thanks in advance,
PJL
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
You can only have one hyperlink in a cell. There are ways to cheat but it can be a ton of work and a real pain.

Here's one hack:

Draw a rectangle (auto shape) over the word or phrase. Set the rectangle's Fill Color to "No Fill", set the Line Color to "No Line". This makes the rectangle invisible. Right click on the rectangle and set its hyperlink as desired. You'll probably also want to make sure the rectangle moves with the cell.

If desired you can change the color / underline etc of the individual word underneath the rectangle to look like a hyperlink.

You will probably have to use some VBA code in the "Follow Hyperlink" event if you want to make the text change color after a given link has been followed.

Hope this helps.

Gary
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,717
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top