Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Getting Rid of Hidden Text in Many Files.
by Allen Wyatt
(last updated December 1, 2018)
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:
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 Office 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. One type of replacing may not seem possible at ...Discover More
Want to change the order of the day and month in a date? This tip shows you how you can do so using the Find and Replace ...Discover More
When working with documents (particularly those prepared by others) it is not unusual to need to count words that possess ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.