PrintHiddenText Property
TOC
Collapse the table of content
Expand the table of content

Options.PrintHiddenText Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .PrintHiddenText

expression An expression that returns an Options object.

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.

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
Show:
© 2016 Microsoft