Quicker Multiple Replace Operations

Written by Allen Wyatt (last updated April 8, 2020)
This tip applies to Word 97, 2000, 2002, and 2003


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.

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

Sorting by Headings

Headings are a great way to organize your document. If, after getting your headings in place, you want to sort by those ...

Discover More

Replacing Text with a Graphic

The Find and Replace feature in Word provides you with some powerful tools you can use to process a document. One such ...

Discover More

Sentences Containing a Search Term

You can use Find and Replace to easily locate words or phrases in a document. If you want to compile a list of sentences ...

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)

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

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

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.

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.