ShowHiddenText Property

Microsoft Word Visual Basic

expression.ShowHiddenText

expression    Required. An expression that returns a View object.

Example

This example hides text formatted as hidden text in each window.

For Each myWindow In Windows
    myWindow.View.ShowHiddenText = False
Next myWindow
		

This example toggles the display of hidden text.

ActiveDocument.ActiveWindow.View.ShowHiddenText = _
    Not ActiveDocument.ActiveWindow.View.ShowHiddenText