Changing How Go To Works

by Allen Wyatt
(last updated September 9, 2015)

Cheryl wrote to complain about changes in Word that result in additional work when using the Go To feature. In earlier versions of Word (Word 95 and before), when the Go To dialog box was displayed, the target you wanted to "Go To" was automatically highlighted, so anything you typed (such as a new page number) automatically replaced what was there and you could easily jump to a new location. Starting with Word 97, however, the target in the Go To tab of the Find and Replace dialog box is not automatically selected. Instead the insertion point is at the beginning of the entry box, with your previous target following the insertion point. Thus, if you want to jump to a new page, you must erase the default target and then type your real target.

Apparently this also bothered several other subscribers, who agreed it was a dumb change on the part of Microsoft. Fortunately, you can modify your version of Word to start with a clean target for your Go To efforts by modifying the command used by Word. Simply follow these steps in Word 97 and later versions:

  1. Choose Macro from the Tools menu, and then Macros from the resulting submenu. Word displays the Macros dialog box.
  2. In the Macro Name box, enter EditGoTo as your macro's name. (That is a single word and must be spelled exactly as shown.)
  3. Click on the Create button. Word displays the VBA Editor, ready for you to put in your new macro. Notice, however, that the macro already contains some code, as follows:
    Sub EditGoTo()
    ' EditGoTo Macro
    ' Jumps to a specified place in the active document
    End Sub
    The reason for this is because you are redefining an existing Word command. The code shown is the code that Word normally executes for the Go To command.
  4. Replace the code that is shown with the following code:
  5. Sub EditGoTo()
    ' EditGoTo Macro
    ' Jumps to a specified place in the active document
        With Dialogs(wdDialogEditGoTo)
            .Destination = ""
        End With
    End Sub
  6. Close the VBA Editor.

That's it. From now on when you pull up the Go To tab of the Find and Replace dialog box, the destination (target) of your jump will be blank.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (653) applies to Microsoft Word , , , , and .

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. ...


What is a Desktop.ini File?

When browsing through your system, you might see several files named Desktop.ini. This tip explains what these files are and ...

Discover More

Where is Toolbar Customization Information Stored?

When you make a change to one of Excel's toolbars, do you know where that change is stored? This tip explains the name and ...

Discover More

Adding Automatic Lines

Want an easy way to add lines in your document? You can do it by making sure Word is using one of its AutoFormat features.

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!


Jumping to a Section

One way you can navigate through a document is to jump from section to section. Here's the traditional way to quickly get to ...

Discover More

Jumping to a Specific Page

Want to jump to a particular page in your document? Word makes it easy; just pull up the Go To tab of the Find and Replace ...

Discover More

Jumping to a Relative Line Number

As you navigate through a document, you may have a need to move forward or backward a specific number of lines. This is easy ...

Discover More

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 for this tip:

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