Written by Allen Wyatt (last updated May 30, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and 2021
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 https:\\wordribbon.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 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 (11189) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Word here: Hyperlinks Not Found.
Do More in Less Time! An easy-to-understand guide to the more advanced features available in the Microsoft 365 version of Word. Enhance the quality of your documents and boost productivity in any field with this in-depth resource. Complete your Word-related tasks more efficiently as you unlock lesser-known tools and learn to quickly access the features you need. Check out Microsoft 365 Word For Professionals For Dummies today!
Adding a hyperlink to a text selection is easy to do in Word. All you need to do is make a couple of clicks and specify ...
Discover MoreWord, as you type, normally formats hyperlinks automatically. If you don't like the way that hyperlinks look in a ...
Discover MoreWord allows you to embed active hyperlinks in your documents. If you later want to change or edit that hyperlink, you can ...
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 ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu 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 © 2025 Sharon Parq Associates, Inc.
Comments