Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. 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.

Using the GotoButton Field

by Allen Wyatt
(last updated December 21, 2020)

2

One of the fields included in Word simulates the Go To command, which is available from the Edit menu. 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:

  1. Position the insertion point where you want the button to appear.
  2. Press Ctrl+F9 to insert an empty set of field braces.
  3. Between the field braces, type GotoButton, then the name of the location where you want to jump.
  4. Type the text you want displayed, or insert a graphic to be used as a button.
  5. Press Shift+F9 to hide the field code and show only the Display 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, and 2016. You can find a version of this tip for the older menu interface of Word here: Using the GotoButton Field.

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

Getting Input from a Text File

You can use a macro to read information from a text file. The steps are easy, and then you can use that information in ...

Discover More

Pulling Formulas from a Worksheet

The formulas in your worksheet can be displayed (instead of formula results) by a simple configuration change. You can ...

Discover More

Calculating Averages by Date

When you have a huge amount of daily data to analyze, you may want to calculate an average of values for any given date ...

Discover More

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!

More WordTips (ribbon)

Inserting a Cross-Reference to Text

Cross-referencing is a great feature of Word that allows you to add references to text in various places of your ...

Discover More

Displaying Blanks when Summing to Zero

If you use fields to sum the information in your table columns, you might want to display a blank when the sum is zero. ...

Discover More

Using Fields for Fractions

Want a quick way to create fractions? You can do it by using fields, as described in this tip.

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 four more than 1?

2021-01-16 17:45:59

DJ

I tried this out. I could get button text (the 3rd parameter) to act as the button, which I needed to double-click to perform the jump. However, after inserting a graphic to replace the button text in the field code, I could not get the graphic to respond this way. Hovering over the icon displays the 4-way arrow mouse cursor, and double-clicking simply displays the Picture Format ribbon. Are there limits on the graphic?


2017-04-24 04:45:12

Gael

Hi. CTRL + F9 gets me the field braces but I can't make them hide by pressing SHIFT + F9. I can right click and choose Toggle Field Codes to show only text. When I select clip art as the Display option, right click and choose toggle field codes, and then right click again to go back to showing the field codes it only gives me options associated with images. No Toggle Field Codes. It works with text, though. Thanks for the tip.


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.