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: Unable to Use File URL in Linking Formulas


View products that this article applies to.

This article was previously published under Q211999

↑ Back to the top


Symptoms

If you try to enter a linking formula in a cell using a File URL format, the formula will return the #REF! error.

For example, if you have a file called "Test.xls" (without the quotation marks) on the network share called "\\server\share" (without the quotation marks), the linking formula using a File URL format would be:
='file:///\\server\share\[test.xls]Sheet1'!A1

↑ Back to the top


Cause

Microsoft Excel only supports Internet links using either the HTTP URL or the FTP URL formats.

↑ Back to the top


Resolution

If you know the path to the file, you can create a link using a UNC path. In the example given in the "Symptoms" section, the linking formula using a UNC path would be:
='\\server\share\[Test.xls]Sheet1'!A1

↑ Back to the top


More information

The following linking formulas are examples of how you can manually create Internet links in Excel to HTTP or FTP servers:

HTTP

='http://webserver/webpage/[bookname.xls]Sheetname'!A1
When you enter this formula, it may initially resolve to the #REF! error value, but after a few seconds, the source cell value will display in the linked cell.

FTP

='ftp://server/[bookname.xls]Sheetname'!A1

↑ Back to the top


References

For more information about creating links to data or files, click Microsoft Excel Help on the Help menu, type create links to connect to data and files in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB211999, kbfaq, kbprb, kbweb, kberrmsg

↑ Back to the top

Article Info
Article ID : 211999
Revision : 3
Created on : 9/25/2003
Published on : 9/25/2003
Exists online : False
Views : 243