View Single Post
 
Old 11-04-2017, 01:44 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Simply toggling the font's hidden property is unreliable at best. Depending on how the user has Word configured, the text may remain visible and, even if it doesn't, might print anyway.

To do this properly, you need to conditionally insert/delete the text - including any formatting. One way is to use field coding (but even that is susceptible to unexpected behaviour if the user has word configured to display the field codes and/or print them). The safest way is to either hard-code the conditional content into a macro or a separate reference document, but that is also the least convenient approach.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote