SUMMARY
This article explains how to show or hide any hidden text in your Microsoft Word document.
To do this, use one of the following methods.
Method 1: Manually Switch Hidden Text Viewing
- On the Tools menu, click Options.
- Click the View tab.
- Under Formatting Marks, click to either select or clear the
Hidden Text check box.
- Click OK.
back to the top
Method 2: Create a Macro to Turn Hidden Text On or 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.
The following Visual Basic for Applications sample macro turns hidden text on and off:
Sub ToggleShowHiddenText()
ActiveWindow.View.ShowHiddenText = Not _
ActiveWindow.View.ShowHiddenText
End Sub
back to the top
Method 3: Use the Show/Hide Button on Formatting Toolbar
The
Show/Hide button on the
Formatting toolbar turns on or off the
All option for
Formatting Marks. This option appears on the
View tab under
Options on the
Tools menu.
NOTE: This command does not turn off any formatting-mark options that you have already individually selected.
back to the top
REFERENCES
For additional information about Visual Basic forApplications programming resources, click the article number below
to view the article in the Microsoft Knowledge Base:
226118 OFF2000: Programming Resources for Visual Basic for Applications
back to the top