Options.PrintHiddenText property (Word)

True if hidden text is printed. Read/write Boolean.

Syntax

expression. PrintHiddenText

expression An expression that returns an Options object.

Remarks

Setting the PrintHiddenText property to False automatically sets the PrintComments property to False. However, setting the PrintHiddenText property to True has no effect on the setting of the PrintComments property.

Example

This example sets Word to print hidden text, and then it prints the active document.

Options.PrintHiddenText = True 
ActiveDocument.PrintOut

This example returns the current status of the Hidden text option on the Print tab in the Options dialog box.

temp = Options.PrintHiddenText

See also

Options 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.