Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Inserting Hyperlinks.

Inserting Hyperlinks

Written by Allen Wyatt (last updated November 27, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003


One of the features built into Excel is support for the Internet. One aspect of this is the ability to add hyperlinks to your Excel workbooks. When you insert a hyperlink, there are two types you can use. You can insert either an absolute or a relative hyperlink. To insert a hyperlink:

  1. Select the cell in which you want the hyperlink inserted.
  2. Click on the Insert Hyperlink tool on the toolbar, or choose Hyperlink from the Insert menu. Excel displays the Insert Hyperlink dialog box. (See Figure 1.)
  3. Figure 1. The Insert Hyperlink dialog box.

  4. If you are using Excel 2000 or a later version, the content of the cell you selected in step 1 shows up in the Text to Display box. You can change it if you want.
  5. In the Link to File or URL box (Excel 97) or the Type the File or Web Page Name box (Excel 2000) or the Address box (Excel 2002 or Excel 2003), specify the address for the page that will be loaded when the user clicks on your hyperlink. Typically this is a URL, but it can also be a file or resource on your system. You can also select an address from the drop-down list or use the Browse button to help locate the resource.
  6. If you are using Excel 97 and you want Excel to use a relative hyperlink, make sure the Use Relative Path for Hyperlink check box is selected.
  7. When completed, click on OK.

If you indicated in step 5 that you want to use a relative hyperlink, Excel assumes that the information in the Link to File or URL box (Excel 97) or the Type the File or Web Page Name box (Excel 2000) or the Address box (Excel 2002 or Excel 2003) should be added to what is called a base URL to create a full URL. The base URL is specified in the following way:

  1. Choose Properties from the File menu. Excel displays the Properties dialog box.
  2. Make sure the Summary tab is selected. (See Figure 2.)
  3. Figure 2. The Summary tab of the Properties dialog box.

  4. In the Hyperlink Base box, indicate the first part of any URL specified using relative references.
  5. Click on OK when finished.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2802) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Inserting Hyperlinks.

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

Determining How Many Styles are Available

Got a macro that processes or uses styles? You definitely need to know how many styles Word has available in the ...

Discover More

Adjusting Values with Formulas

Paste Special is a great tool that allows you to modify the values in a range of cells in your worksheets. You may want, ...

Discover More

Determining the Length of a String

Macros are great for working with strings, and one of the most commonly used string functions is Len. This tip explains ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Adding a ScreenTip

If you want people to know something about a hyperlink you added to your worksheet, one way to help them is to use ...

Discover More

Putting More than One Hyperlink in a Cell

Excel allows you to put a single hyperlink in a cell. If you have a need to put multiple hyperlinks in a cell, then you ...

Discover More

Removing Hyperlinks without a Macro, Take Two

Need to get rid of hyperlinks in a worksheet? Here's an easy way to do it without using a macro.

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 2 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.