hot key for hiding and revealing hidden text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a keyboard shortcut for hiding and revealing hidden text, such as
index markers?

I'd like to be able to toggle back and forth between viewing and not viewing
my index markers.

I know that I can create a macro to do this, but that's not a good option
for me because the docs I work with are mostly based on a company-wide
template that I should not mess with.
 
As you may be aware, the ShowAll command (Ctrl+* or the ¶ button on the
toolbar) displays Hidden text along with all the nonprinting characters.

If you want to toggle only the Hidden text, you will need a macro. However,
the macro doesn't have to be in the company template. Put the macro in an
otherwise empty template, and store that template in the location indicated
as the Startup location in the Tools > Options > File Locations dialog (by
default, it's %appdata%\Microsoft\Word\Startup). Each time you restart Word,
that template will automatically be loaded as an add-in, and any macros and
shortcuts it contains will be available in any document.

Here's the macro:

Sub ToggleHidden()
ActiveWindow.View.ShowHiddenText = _
Not ActiveWindow.View.ShowHiddenText
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
The Show/Hide ¶ key does this by default.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
After a period of frustration, I discovered an important detail about using
the ¶ button and/or the CTRL + * hotkey.

Before these tricks work, you must correctly set up your options. Under
Tools > Options on the View tab under Formatting marks, you must specifically
deselect Hidden text, and select All.

If you leave Hidden text selected (as I normally do because I index a lot of
my longer docs), the formatting marks disappear, but the pesky index markers
remain visible.
 
Yes, the Show/Hide ¶ button switches between display of *all* formatting
marks (including Hidden text) and any that you have specifically checked on
the View tab of Tools | Options.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top