Options.PrintHiddenText Property

Word Developer Reference

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.

Visual Basic for Applications
  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.

Visual Basic for Applications
  temp = Options.PrintHiddenText

See Also