Word allows you to apply many attributes to text. For instance, you can make text bold, italic, or underlined; these are all text attributes. Another attribute applicable to text is that it can be made hidden. Hidden text is often used for comments and other text not intended for inclusion in the final document.
Removing hidden text from a document is rather easy—just use Word's Find and Replace feature. You search for text with the hidden attribute turned on, and replace it with nothing, as is done in these steps:
Figure 1. The Replace tab of the Find and Replace dialog box.
Figure 2. The Find Font dialog box.
Lickety split, all the hidden text in the document is deleted. If you want to strip all the hidden text from a group of documents, then the only way to do it is with a macro. The macro basically needs to load each document, perform the replacements as detailed above, save the document, and close it. Any number of macros could be written to perform such a task (loading a document, processing it, and then saving it); some have been detailed in other issues of WordTips. If you need such a macro, consider this macro at the Word MVP Web site:
http://wordmvp.com/FAQs/MacrosVBA/BatchFR.htm
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12463) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Getting Rid of Hidden Text in Many Files.
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!
The Find and Replace capabilities of Word are quite powerful. If you want to change the formatting of just a part of text ...
Discover MoreWord has a powerful Find and Replace capability, but sometimes it can be tricky to figure out exactly how to use it. Here ...
Discover MoreThe Find and Replace capabilities of Word are quite powerful. One type of replacing may not seem possible at ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2022 Sharon Parq Associates, Inc.
Comments