View.ShowHiddenText property (Word)

True if text formatted as hidden text is displayed. Read/write Boolean.

Syntax

expression. ShowHiddenText

expression 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

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.