Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, 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: Using the GotoButton Field.
Written by Allen Wyatt (last updated September 21, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021
One of the fields included in Word simulates the Go To command, which is available by pressing F5. This feature allows you to define a field that will appear as a "button" in your document. If the user double-clicks on the field, then Word jumps to the location in the document specified by the field. The syntax for the field is as follows:
GotoButton Location Display
where Location is the name of the bookmark or other valid Go To location to which you wish to jump, and Display is the text you want displayed by the field code. If you use a graphic instead of text for Display, then the graphic is displayed. When a user double-clicks on the displayed text or graphic, then Word jumps to the location specified by Location.
To use this field code, follow these steps:
Now, to jump to the target location, double-click the results of the field.
This all being said, it appears in the latest versions of Word that Microsoft has "broken" the ability to use a graphic as the Display parameter. In multiple tests, I could insert the graphic for the parameter, and it displays properly, but it cannot be double-clicked. (A single click selects the graphic and a double-click displays the properties for the graphic.) So, until Microsoft decides to fix this problem, I would suggest not using a graphic with the GotoButton field, and instead use text.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9806) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Using the GotoButton Field.
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!
Fields can be used to add all sorts of dynamic data to your documents. Viewing the field codes, at times, is desirable. ...
Discover MoreThe TC field is normally used in constructing manual Tables of Contents. The way the field works, however, makes it a ...
Discover MoreWord allows you to configure what you see so that field codes are visible instead of the results of those field codes. ...
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 © 2024 Sharon Parq Associates, Inc.
Comments