Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Hyperlinks Not Found.

Hyperlinks Not Found

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.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Specifying Sub-entries in an AutoMark File

An AutoMark file allows you to quickly and easily create an index from a document. This can be a great boon for large ...

Discover More

Using the Status Bar

When developing a macro, you may want to display on the status bar what the macro is doing. Here's how to use this ...

Discover More

Returning Blanks or Asterisks from a Lookup

Want to return more than a value when doing a lookup? Here's one way to do it by adding an IF clause to your formula.

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (ribbon)

Pasting a Hyperlink

When you paste information into a document, you can specify that it be inserted as a hyperlink rather than as normal ...

Discover More

Associating a Name with a Position

Wouldn't it be great if Word allowed you to have a small pop-up that showed you some information associated with a ...

Discover More

Counting Internal Links

Word allows you to easily add hyperlinks to your documents. These links can be to either a bookmark within your document ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is nine minus 1?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.