On Wed, 5 Dec 2007 10:13:00 -0800, Darren
wrote:
I'm trying to create a form where I want to hide a section of text. I've
gone into the Format Font section and hidden the text I want to hide.
However, when I click on the Show/Hide icon on the toolbar, I see all the
Paragraph symbols. Is there any way to get rid of the paragraph symbols?
Thanks,
-darren
In the Tools Options View dialog, there are check boxes for five
different kinds of nonprinting characters (tabs, spaces, paragraph
marks, hidden text, and optional hyphens) plus one for "All" of the
other five. The Show/Hide icon only toggles the "All" setting on and
off. So if you want to affect the visibility of hidden text without
showing the paragraph marks and other items, you have to change _only_
the "Hidden text" setting.
You could manually open the dialog and click the check box, but that's
too much trouble. There isn't any built-in command to do this, so you
need a macro:
Sub ToggleHidden()
ActiveWindow.View.ShowHiddenText = _
Not ActiveWindow.View.ShowHiddenText
End Sub
The article
http://www.gmayor.com/installing_macro.htm explains how to
put the macro into the template of your form, and
http://www.word.mvps.org/FAQs/Custom...oToToolbar.htm
shows how to make a toolbar button for it.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.