By Allen Wyatt for Word.Tips.Net
Mass Search and Replace in Microsoft Word
Over time it is very possible to collect a huge number of documents. At some point you may want to make the same change to each of the documents in the collection. For instance, you may need to change the company name within each document. Obviously you can open each document, make the change, and then save the document, but that process can quickly become tiring if you have hundreds or thousands of documents to process.
What to do? Consistent with the point that has been made in other issues of WordTips, anytime you have something that is mundane and tiresome to accomplish, you can often use a macro to handle the work for you. For instance, you could write a macro that would step through all the documents in a directory, load each in turn, search for and change the necessary text, and resave the document. This process is no different than the process you would follow manually, except that it is done under the control of the macro. This makes it much easier and faster.
This post is excerpted with permission from Word.Tips.Net
Subscribe to the Free WordTips Newsletter with the links below
About Word Tips
The tips, tricks, and ideas on WordRibbon.Tips.Net are designed for users of Word versions starting with Word 2007. You'll find just about everything you need to become productive with the program right away. (If you need help with older versions of Word, visit the WordTips site.) Don't worry; all the tips on WordRibbon.Tips.Net are free, and more are added all the time. Check back often for the latest and greatest tips.