Microsoft KB Archive/903163

= How to create absolute hyperlinks and relative hyperlinks in Word 2007 documents and in Word 2003 documents =

Article ID: 903163

Article Last Modified on 1/30/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003

-





INTRODUCTION
This article describes how to create absolute hyperlinks and relative hyperlinks in Microsoft Office Word 2007 and in Microsoft Office Word 2003.



MORE INFORMATION
Word automatically creates a hyperlink when you type the address of an existing Web page, such as www.microsoft.com, into a document. This behavior occurs only if you have not turned off the automatic formatting of hyperlinks functionality. You can also create customized hyperlinks to documents on a computer or on a network share. These hyperlinks can be absolute. Or, these hyperlinks can be relative to the Word document that you are working with.

By default, the Update links on save option in Web Options is turned on in Word. Therefore, when you create a hyperlink in a Word document, Word converts the hyperlink into a relative hyperlink.

Definitions and examples
 Hyperlink

A hyperlink is colored and underlined text or a colored and underlined graphic that you click to open any one of the following items:  A file A location in a file A Web page on the Web A Web page on an intranet A Gopher, Telnet, or File Transfer Protocol (FTP) site</ul>

Additionally, you can click a hyperlink to view newsgroups.</li> Absolute hyperlink

An absolute hyperlink is a hyperlink that contains the full address of the destination file or of the Web site. The following address is an example of a full address in an absolute hyperlink:

http://www.microsoft.com/support

</li> Hyperlink base

A hyperlink base is the path that is shared by the file that contains the hyperlink and the destination file.</li> Relative hyperlink

A relative hyperlink is a hyperlink that contains an address that is relative to the address of the destination file. The address of the destination file is also known as the hyperlink base.

For example, a document has the following hyperlink base:

C:\Documents and Settings\ \My Documents

A document that is named &quot;Sales.doc&quot; is located at the following file path:

C:\Documents and Settings\ \My Documents\April\Sales.doc

The relative hyperlink to this document contains only the relative address to Sales.doc. Therefore, the relative hyperlink contains the following address:

April\Sales.doc

</li></ul>

How to use absolute hyperlinks instead of relative hyperlinks
To use absolute hyperlinks, perform one of the following actions: <ul>  Use absolute hyperlinks in all Word documents. To do this, use one of the following methods.

Method 1: Word 2007
<ol> Click the Microsoft Office Button, and then click Word Options.</li> Click the Advanced.</li> Under General, click Web Options.</li> Click the Files tab.</li> Click to clear the Update links on save check box.</li> Click OK two times.</li></ol>

Method 2: Word 2003
<ol> On the Tools menu, click Options.</li> Click the General tab.</li> Click Web Options.</li> Click the Files tab.</li> Click to clear the Update links on save check box.</li> Click OK two times.</li></ol> </li> <li> Use absolute hyperlinks in a single document. To do this, use one of the following methods.

Method 1: Word 2007
<ol> <li>Open the document in which you want to use an absolute hyperlink.</li> <li>Click the Microsoft Office Button, point to Prepare, and then click Properties.</li> <li>Click Document Properties, and then click Advanced Properties.</li> <li>Click the Summary tab.</li> <li>In the Hyperlink Base box, type x, and then click OK.</li></ol>

Method 2: Word 2003
<ol> <li>Open the document in which you want to use an absolute hyperlink.</li> <li>On the File menu, click Properties.</li> <li>Click the Summary tab.</li> <li>In the Hyperlink Base box, type x, and then click OK.</li></ol> </li></ul>

How to reset hyperlinks
To reset existing hyperlinks in a document, follow these steps:
 * 1) Open the document.
 * 2) Right-click the hyperlink that you want to change, and then click Edit Hyperlink.
 * 3) In the Look in box, click the document that you want the hyperlink to open. Or, type the URL address of the destination in the Address box.
 * 4) Click OK.

How to set a hyperlink base
To set a hyperlink base for all the hyperlinks or the URLs in a document, use one of the following methods, as appropriate for your version of Word.

Method 1: Word 2007

 * 1) Open the document in which you want to set a hyperlink base.
 * 2) Click the Microsoft Office Button, point to Prepare, and then click Properties.
 * 3) Click Document Properties, and then click Advanced Properties.
 * 4) Click the Summary tab.
 * 5) In the Hyperlink Base box, type the path that you want to use for all the hyperlinks that you create in this document.
 * 6) Click OK.

Method 2: Word 2003

 * 1) Open the document for which you want to set a hyperlink base.
 * 2) On the File menu, click Properties, and then click the Summary tab.
 * 3) In the Hyperlink base box, type the path that you want to use for all the hyperlinks that you create in this document.
 * 4) Click OK.

Note To override the hyperlink base, type the full address of the hyperlink in the Address box in the Insert Hyperlink dialog box.

Additional query words: wd wd2003 wd11 weblink ftp gopher telenet e-mail email

Keywords: kbexpertisebeginner kbhttp kbhowto KB903163

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.