This article was previously published under Q197680
This article has been archived. It is offered "as is" and will no longer be updated.
This article explains how to show or hide hidden text in your document byusing the menu option or by using a macro.
NOTE: Word 5.x for the Macintosh had a Show Hidden Text command. Thiscommand is no longer available in Word for the Macintosh.
Use one of the following methods to show or hide hidden text in yourdocument:
Method 1: Manually Turn On or Turn Off Hidden Text Viewing
On the Tools Menu, click Preferences.
Click the View tab.
Under Nonprinting Characters, click to select or clear the Hidden Text check box.
Method 2: Create a Macro to Turn On or Turn Off Hidden Text
The following sample macro turns hidden text on and off.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Visual Basic for Applications Macro:
Sub ToggleShowHiddenText() ActiveWindow.View.ShowHiddenText = Not _ ActiveWindow.View.ShowHiddenText End Sub
For more information about how to get help with Visual Basic for Applications, click the following article number to view the article in the Microsoft Knowledge Base:
163435 Programming resources for Visual Basic for Applications