Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Invalid Site Error Using Relative Hyperlink Path


View products that this article applies to.

This article was previously published under Q211571

↑ Back to the top


Symptoms

When you click a hyperlink, you may receive the following error message:
The address of this site is not valid.
Check the address and try again.

↑ Back to the top


Cause

This behavior occurs when the hyperlink is unable to find the specified address. The hyperlink may not be able to find the address for one of the following reasons:
  • The address is not valid.
  • You did not save the workbook before inserting a hyperlink with a relative path.

↑ Back to the top


Workaround

To work around this behavior, use one of the following methods:

The Address Is Not Valid

Method 1

If the address is a World Wide Web internet address, such as www.server/share/filename.xls, where server is the Web server name, share is the name of the share on the server, and filename.xls is the name of a workbook, check that the address is valid with a Web browser such as Microsoft Internet Explorer.

Method 2

If the address belongs to an intranet network, verify the address by clicking Open on the File menu, and entering the target file by using the universal naming convention (UNC) to map to the share where the target file is located. For example, use the following convention
\\server\share\filename.xls
where server is the Web server name, share is the name of the share on the server, and filename.xls is the name of a workbook.

The Hyperlink Contains a Relative Path

If you failed to save the workbook before you created the hyperlink, save the workbook, and then reinsert the hyperlink.

Microsoft recommends that you save the workbook before you create a hyperlink. In order for Microsoft Excel to create a relative path, a base address must be computed; saving the workbook creates this base address.

↑ Back to the top


References

For more information about creating hyperlinks, click Microsoft Excel Help on the Help menu, type create a hyperlink in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB211571, kbprb, kbnetwork

↑ Back to the top

Article Info
Article ID : 211571
Revision : 5
Created on : 11/5/2003
Published on : 11/5/2003
Exists online : False
Views : 250