How to show or hide hidden text in Word for Mac (197680)



The information in this article applies to:

  • Microsoft Word 2004 for Mac
  • Microsoft Word X for Mac
  • Microsoft Word 2001 for Macintosh
  • Microsoft Word 98 Macintosh Edition

This article was previously published under Q197680

SUMMARY

This article explains how to show or hide hidden text in your document by using the menu option or by using a macro.

NOTE: Word 5.x for the Macintosh had a Show Hidden Text command. This command is no longer available in Word for the Macintosh.

MORE INFORMATION

Use one of the following methods to show or hide hidden text in your document:

Method 1: Manually Turn On or Turn Off Hidden Text Viewing

  1. On the Tools Menu, click Preferences.
  2. Click the View tab.
  3. Under Nonprinting Characters, click to select or clear the Hidden Text check box.
  4. Click OK.

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


Modification Type:MajorLast Reviewed:7/19/2005
Keywords:kbhowto kbmacroexample KB197680