PrintHiddenText Property

Microsoft Word Visual Basic

PrintHiddenText Property

       

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

expression.PrintHiddenText

expression   Required. 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