Putting More than One Hyperlink in a Cell

by Allen Wyatt
(last updated January 11, 2014)

6

Kenton asked if there is a way to have more than one hyperlink in a cell. For instance, if you enter keywords on different lines in a cell (by pressing Alt+Enter between each keyword), is it possible to assign a hyperlink to each keyword, independent of the other keywords in the cell.

The short answer is that this cannot be done. Excel only allows you to enter hyperlinks on a cell-by-cell basis. Even if you add the hyperlinks to adjacent cells, and then merge the cells into one, only the first hyperlink is maintained by Excel.

The workaround is to not just rely on native Excel. Instead, you could use the OLE features of Excel to insert objects from programs that do support multiple hyperlinks. For instance, you could follow these general steps:

  1. Create a list of keywords in a Word document.
  2. Within Word, specify the hyperlinks for each keyword.
  3. Select the list of keywords and press Ctrl+C to copy it to the Clipboard.
  4. In Excel, chose Paste Special from the Edit menu. Excel displays the Paste Special dialog box. (See Figure 1.)
  5. Figure 1. The Paste Special dialog box.

  6. Choose Microsoft Word Document Object in the list of pasting formats.
  7. Click on OK.

The Microsoft Word object is now in your document. You can double click on the object at any time, which "activates" it within Word, and then you can click on the hyperlink.

You can also, if desired, add controls from the Forms toolbar to your worksheet, and then assign hyperlinks to the controls. If you position the controls just right, they can appear to be within a single cell.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2805) applies to Microsoft Excel 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Taking a Picture

Excel allows you to capture portions of your worksheet as a picture that you can then use in a variety of other ways. Here's ...

Discover More

Conditionally Displaying a Message Box

You can, from within your macros, easily display a message box containing a message of your choice. If you want to display ...

Discover More

Quickly Accessing the Column Tab

If you need to quickly display the Column tab of the Table Properties dialog box, here are some handy tricks you can use. ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Hyperlinks in Shared Workbooks

Inserting a hyperlink into a workbook that is shared with others is not possible in Excel. Here's what you can do about it.

Discover More

Opening an HTML Page in a Macro

Excel allows you to open HTML pages within the program, which is great for some purposes. What if you want to open a browser ...

Discover More

Getting Rid of Many Hyperlinks

Got a bunch of hyperlinks you need to get rid of? Here's a handy (and simple) macro that can do the task for you.

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 4?

2016-05-03 23:17:42

Lex

In either a vertical or horizontal form, depending a little on the number of respective columns or rows in use within the worksheet, you can insert additional rows/cols next to the that carrying the index then merge these for all cols/rows except that to be used for the index.

This gives you then a group of cells in either one column or row into which separate hyperlinks can be entered and also formatted differently if required.


2016-02-24 05:50:42

Avi Mak

Both OLD Word objects and Excel text boxes seem to be quite alien to cells. They have some position association, but not exact position association.

So if you do a sort on rows, or chabnge the width of rows, both type of objects tend to "go walkies" WRT to their previous row-relative positions.

This would be a real fudge, and I can't see my manager or colleagues approving this.


2015-10-30 12:33:54

Kenn

HI,

I wonder for the above scenario could you define a list (On say a 'Legend Sheet' ) and by inserting the hyperlinks into these keywords, and then by using data validation or some conditional formatting - could these links subsequently be selected from a dropdown menu elsewhere in the worksheet??

Please advise

Thanks


2015-09-28 10:54:56

Ian

Say you want to hyperlink Document A and Document B in the same cell.

In normal text type 'Document A' and 'Document B'. Ideally highlight the text in blue font so that it looks like a hyperlink.

Then you insert two separate text boxes, one placed over 'Document A' and one over 'Document B'. Make sure the text boxes cover exactly the height and width of the text.

Then right click on the text boxes, click on format shape and select the no-fill and no-line options.
Then right click on the text boxes again, and select the hyperlink option, and insert the link.


2015-03-31 20:28:48

JM

You can also post small image icons and add hyperlinks to those.


2014-10-29 21:50:42

Gerous

Thanks! Very useful tips


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.