Moving Found Text Down On a Page

by Allen Wyatt
(last updated February 19, 2022)

Subscriber David Goldenberg wrote about his frustration with using Word's Find feature and having the "found" information appear on the top line of the document window. (Technically, this is true only if the next occurrence of the thing you are searching for is not visible within the current window.) When Word changes the display to show what it found, then the item found is shown on the top row. In earlier versions of Word, the item found was always on the second row of the document window.

Unfortunately, there is no setting or anything that you can use to change where Word displays found text after changing the display window. There is, however, a macro you can devise that will provide a workaround. Consider the following:

Sub MyFindNext()
    Application.ScreenUpdating = False
    Selection.Find.Execute
    ActiveDocument.Bookmarks.Add Range:=Selection.Range, Name:="MyFound"
    Selection.MoveUp Unit:=wdLine, Count:=3
    Selection.GoTo What:=wdGoToBookmark, Name:="MyFound"
    ActiveDocument.Bookmarks("MyFound").Delete
    Application.ScreenUpdating = True
End Sub

The purpose of this macro is to find the next occurrence of whatever you are searching for, bookmark the selection (uses a bookmark name of "MyFound"), move up three lines, jump back to the bookmark, and then delete the bookmark. The result is that whatever is "found" will be displayed at least three lines from the top of the screen.

To use the macro, simply assign it to a shortcut key combination that you can easily remember and use. Then, use Ctrl+F to search for your first occurrence as you normally would. Once the first occurrence is found, press Esc to dismiss the Find and Replace dialog box. Now you can use your shortcut key combination to initiate the macro and find the next occurrence of the search term. Keep pressing the shortcut key to keep pulling up additional instances.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

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

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

Extracting E-mail Addresses from Hyperlinks

If you have a list of hyperlinked e-mail addresses in a worksheet, you may want to extract the addresses from those ...

Discover More

Setting Column Width in a Macro

Does your macro need to change the width of some columns in a worksheet? Here's how to do it.

Discover More

Conditionally Displaying a Message Box

You can, from within your macros, easily display a message box containing a message of your choice. If you want to ...

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 (menu)

Misbehaving Rulers

When upgrading from Word 2000 to 2002, many people have a problem with the Ruler function. This tip explains how to fix ...

Discover More

Automatically Updating Fields and Links

You can update fields and links automatically when you print your document, but what if you want them updated when you ...

Discover More

Alternative Ways of Creating Random Text

You can use a built-in Word feature (RAND) to create random text, but such text may not be to your liking. 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 6 - 3?

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 menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.