Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 365. 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: Weird Hyperlink Behavior.
by Allen Wyatt
(last updated November 20, 2019)
Has this ever happened to you? You go to insert a hyperlink in your document (either by inserting it or copying it from another location) and the URL for the hyperlink appears with brackets and the word "hypertext" in front of it. What's going on?
The solution is quite simple, if you understand how Word handles hyperlinks behind-the-scenes. Hyperlinks are managed through the use of field codes. Chances are good that this weird behavior is an indication that you are seeing the field code for the hyperlink, instead of the result of that field code (just the link itself).
Try this the next time you see the weird hyperlink: just move the insertion point somewhere between the two brackets and press Shift+F9. The field code for the hyperlink should disappear, replaced with the actual text you have associated with the link. The Shift+F9 shortcut controls the one field code under the insertion point. If you want to display the results of all field codes in your document, instead of viewing the codes themselves, press Alt+F9. You can also follow these steps:
Figure 1. The Show Document Content section of the Word Options dialog box.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12863) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Weird Hyperlink Behavior.
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!
Want to add a small pop-up window over a word in your document? There is no way to do this directly in Word, but you can ...Discover More
It is easy to amass a large number of hyperlinks in a document. You may want to process these hyperlinks in some way, ...Discover More
Word allows you to add hyperlinks to your document. If your document includes quite a few hyperlinks, you may want a way ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.