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

Getting Input from a Text File

VBA includes some commands that you can use to read information from text files (non-Word documents). These commands can ...

Discover More

Renaming a Workbook

Renaming a workbook from within Excel can seem daunting, but it is actually quite easy. All you need to do is use the ...

Discover More

Creating a Single Index from Multiple Documents

When dealing with large projects, it is not uncommon to break the project into multiple documents. When it comes time to ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

Changing Huge Numbers of Hyperlinks

Need to change the various targets of a group of hyperlinks? Getting at the underlying link can seem challenging, but it ...

Discover More

Getting Rid of All Hyperlinks

Need to get rid of all the hyperlinks in a worksheet? It's easy when you use this single-line macro.

Discover More

Turning Off Hyperlink Activation

Does it bother you when you enter a URL and it becomes "active" as soon as you press Enter? Here's how you can turn off ...

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 two more than 7?

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.