WD97: Show Hidden Text Command Not Available (196435)



The information in this article applies to:

  • Microsoft Word 97 for Windows

This article was previously published under Q196435

SYMPTOMS

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

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 Options.
  2. Click the View tab.
  3. Under Nonprinting Characters, click to select or click to 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
				

REFERENCES

For additional information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

163435 VBA: Programming Resources for Visual Basic for Applications


Modification Type:MajorLast Reviewed:6/17/2005
Keywords:kbdtacode kbhowto kbmacro KB196435