Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Hyperlinks Not Found.
Written by Allen Wyatt (last updated April 21, 2018)
This tip applies to Word 97, 2000, 2002, and 2003
When you insert hyperlinks into your Word documents, how you specify the URL in the hyperlink's field can affect how the hyperlink behaves in the future. Typically, if you are referencing a URL in your hyperlink, it is inserted in the format http:\\word.tips.net. This is called an absolute hyperlink, because it indicates exactly where the resource is located, regardless of the location of the document in which the hyperlink is created.
When you create hyperlinks to files, it is much more common to create relative hyperlinks instead of absolute ones. For instance, let's say you have two documents, named (appropriately enough) MyDoc1 and MyDoc2. If you are working in MyDoc1, and you want to include a hyperlink to the bookmark CoolPlace in MyDoc2, the field containing your hyperlink may end up looking like this:
{ HYPERLINK "MyDoc2.doc" \l "CoolPlace" }
This is a relative hyperlink, and in later resolving the link, Word assumes that MyDoc2 is located in the same disk folder as MyDoc1. If you end up separating MyDoc1 and MyDoc2 into different folders, you will get "Error! Bookmark not defined" instead of the expected hyperlink in MyDoc1.
A partial solution to this problem is to always use absolute references for files when setting up hyperlinks. For instance, the foregoing hyperlink would look like the following when it uses absolute references instead:
{ HYPERLINK "D:\SomePath\MyDoc2.doc" \l "CoolPlace" }
Now, if you move MyDoc1 into a different directory, Word can still find MyDoc2 and the hyperlink will still work as expected. Notice, however, that I said this was only a "partial solution." The reason is that you will still get an error if you move MyDoc2 to a different place than the noted directory. In that case, the only solution is to modify your hyperlinks so they point to the new absolute location of MyDoc2.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1751) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Hyperlinks Not Found.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
A common editing task is to transpose two adjacent words, so that their order is changed. While the task is common, there ...
Discover MorePaste information into a document and you'll immediately see a small icon next to the pasted information. This icon ...
Discover MoreShould you put two spaces after a sentence or just one? Ask different people and you will get different answers. To Word ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments