View Single Post
  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Herb Tyson [MVP] Herb Tyson [MVP] is offline
external usenet poster
 
Posts: 2,936
Default Need hidden headings in TOC

This is rather odd. I had tried that (enabling hidden in both printing and
viewing) before posting my own response. Oddly enough... it still doesn't
work here in Word 2003 or Word 2007.

So... you're saying that with hidden text set to view and to print, a
heading formatted as hidden gets included in the ToC?

It doesn't happen here... and I tried starting Word in safe mode as well as
using the /a switch, then applying the settings to view and print hidden
text afresh... on two different computers (one running XP, the other running
Vista).

{toc}

First Heading (not hidden)

Second Heading (hidden)

When I refresh the { toc } field, only First Heading shows up, no matter
what settings I use. If I remove the hidden formatting applied to the 2nd
heading, then refresh the TOC field, only then does it show up in the TOC.

I even tried in Print Preview, and the hidden heading still doesn't show.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Sherlock" wrote in message
...
Thank you. Yes, you are right, I had to do that when I was able to update
the
TOC to include hidden text in earlier versions, too.

Thanks.

"Suzanne S. Barnhill" wrote:

I believe you'd need to change the "Hidden text" setting on the Print tab
of
Page Layout as well as on the View tab if you wanted to be able to print
the
TOC with Hidden text included.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.

"Herb Tyson [MVP]" wrote in message
...
I've never seen it work (never tried it before just now), but I can

confirm
that it doesn't work in Word 2003 or Word 2007.


--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Sherlock" wrote in message
...
I'm trying to create a double-purpose document. I've done it before
in
previous versions, but it doesn't seem to be working in Word 2003 --
at
least
not in this document.

I put all of the text for both a user guide and a developer guide in
a
single document. Then I hid all of the text that applies only to the
developer guide.

It used to be that with Show/Hide on, the TOC included hidden
headings

and
numbered the pages accordingly, and with Show/Hide off, the TOC
excluded
hidden headings and numbered the pages accordingly. It worked great!

Does that not work anymore? If not, are there any solutions other
than
saving a temporary version of the file and unhiding all of the text?

Seems
such a clumsy approach to what used to be a slick method.

I do know from personal experience that if a user doesn't understand
what's
happening and sets Show/Hide correctly before updating the TOC, it
can
cause
undesired results. However, MS could put in one of those messages
with

the
"Don't show this again" check box in that shows up in documents with
hidden
text in them, explains the issue, and asks how the user wants to
address
it.

Thanks for your help.