In Excel, hyperlinks are removed or invalid after you sort cells that contain them (214328)



The information in this article applies to:

  • Microsoft Office Excel 2003
  • Microsoft Excel 2002
  • Microsoft Excel 2000
  • Microsoft Excel 97 for Windows
  • Microsoft Excel 2004 for Mac
  • Microsoft Excel X for Mac
  • Microsoft Excel 2001 for Mac
  • Microsoft Excel 98 Macintosh Edition

This article was previously published under Q214328

SYMPTOMS

In Microsoft Excel, if you sort a range of cells in a worksheet that contains hyperlinks, the following problems may occur:
  • Some of the hyperlinks may be removed. Although the blue, underlined text appears in the cell, nothing happens when you click the link.
  • Some of the hyperlinks may be changed so that they refer to the wrong addresses.

    For example, a hyperlink that previously referred to one Web page may now refer to a different Web page.

CAUSE

This problem may occur if you copy and paste cells that contain hyperlinks, and then sort the cells.

RESOLUTION

If this problem occurs, manually correct the hyperlinks. To do this, use either of the following methods:
  • If Excel has removed the hyperlink from the cell, select the cell and click Hyperlink on the Insert menu. Type the correct address in the Type the file or Web page name box, and then click OK.

    -or-
  • If the hyperlink refers to the wrong address, right-click (or press CTRL and click) the cell, point to Hyperlink on the shortcut menu, and then click Edit Hyperlink. Correct the address in the Type the file or Web page name box, and then click OK.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:5/6/2005
Keywords:kbbug kbpending KB214328