You cannot reliably control the display (or printing) of text formatted as hidden. Whether such text is displayed and/or printed is entirely dependent on the user's Word setup. For example, something as simple a clicking on the ¶ symbol on the Ribbon's Home tab can override any attempt to hide the text.
The only reliable way to control the display of a given set of text is to control whether it is present in the document. This means having either a bookmarked range than you code conditionally populates/erases or a DOCPROPERTY field that references a custom document property that conditionally contains the text or conditionally references another one that does contain the text.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|