![]() |
|
#1
|
|||
|
|||
![]()
Following the guidance on a macro tutorial that would hide/show text on demand. Pasted the VBA into Word document but do not know how to proceed so that text line(s) can toggle.
Images are uploaded to a Microsoft SkyDrive folder. https://skydrive.live.com/redir?resi...F3F75A51A!1670 An excerpt of some of the tutorial is also attached as "Method 2" Guidance sought |
#2
|
||||
|
||||
![]()
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] |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
hiding images in word document | gib65 | Drawing and Graphics | 3 | 08-17-2011 11:09 AM |
hiding selected objects in word document | gib65 | Word | 0 | 08-09-2011 12:00 PM |
![]() |
simpleonline1234 | Word VBA | 1 | 02-25-2011 02:28 AM |
Hiding text | Reg06 | Visio | 0 | 01-15-2011 08:04 AM |
Recomend a information hiding tool for word 2007 files | AlexanderLee | Word | 0 | 01-05-2010 01:11 AM |