View Single Post
 
Old 10-29-2014, 02:01 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,341
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

Your error message suggests the 'TextToShow' bookmark has been deleted. As for being unable to access the macro via Alt-F8 or Alt-F11 once forms protection is applied, that is normal.

In any event, trying to hide content in a by toggling the font's hidden state is quite unreliable. Whether it actually works depends on how the user has Word configured. Whether the text does hide, or whether it gets printed, is entirely beyond the macro's control. With the font hidden state, there are four possibilities. The hidden text will :
1. neither display nor print
2. display but not print
3. print but not display
4. both display and print
For users who have Word configured to show formatting marks (a quite common setup),'2' is the most likely outcome.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote