Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Quicker Multiple Replace Operations.

Quicker Multiple Replace Operations

by Allen Wyatt
(last updated February 14, 2015)

1

It is not unusual to use the Replace function multiple times to replace the same information. For instance, you may have a document that contains quite a few tabs. You can use the Replace function to replace two tabs with a single tab. In this way, you can get rid of the extra tabs. However, if your document contains many, many extra tabs, you can replace 8, 20, or 50 tabs with a single tab.

When you are specifying the number of tabs to replace, it is best to use a multiple of two. For instance, in the Find What box you would enter 4, 8, 16, or 32 tabs, and in the Replace With box you would enter a single tab. Continue selecting the Replace All button until you are informed the requested characters could not be found. Then divide the number of characters in the Find What box by two. Thus, if you had searched for 16 tabs, you would now search for 8. You will only have to click on the Replace All button once then. (Word could not find two groups of 8 in a row—if it did, it would have been replaced by the previous search for 16.) On the next iteration, use only 4, and finally 2 tabs. Basically, you have replaced all the extra tabs in around 4 or 5 operations. This is the fastest possible way to do the iterative search and replace.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1140) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Quicker Multiple Replace Operations.

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

Jumping Between Fields

Need to step through the fields in a document? It's easy using the shortcuts detailed in this tip.

Discover More

Automatically Converting to GMT

You know what time it is, right? (Quick; look at your watch!) What if you want to know what time it is in Greenwich, England? ...

Discover More

Repaginating in a Macro

When creating a macro that extensively processes a document, you may need to periodically force Word to repaginate the ...

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!

More WordTips (menu)

Specifying a Number of Matches

The wild card searching capabilities of Word are amazing. One thing you can do with wild cards is to specify not only a ...

Discover More

When Replace Doesn't Work

Find and Replace is a great tool, but what are you to do if your find or replace doesn't work as you expect? This tip ...

Discover More

Initiating a New Search

I do a lot of searching in my documents. Sometimes the searches may not go exactly as I expected. Here are some things I ...

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}] 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 7 - 1?

2015-02-14 09:12:17

JMJ

Still faster, in the search and replace window,
- check the "generic characters" box
- in the find box, type ^t{1;}
- in the replace box, type ^t
- hit "replace all" and you're done!


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.

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