View Single Post
 
Old 11-10-2017, 01:05 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
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

Most of the time, the techniques you'll see described for conditionally displaying content involve changing the content's formatting to/from 'hidden text'. That is unreliable as the user may have Word set to display hidden text (which you can do just by clicking on the ¶ symbol on the Ribbon's Home tab) and/or to print hidden text (which Word can do even when you can't see it on screen). The only 100% reliable way is to not store the text in the document body. Depending on your requirements, you might instead store it in a document property, a document variable, another document, or even in some VBA code. Without knowing which approach you'd prefer to take, we can't give more specific advice. Read up on the alternatives, then let us know how you'd like to proceed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote