View Single Post
  #8   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Word inserts it by default, but only in conjunction with the \h switch, so
if you have deselected the "Use hyperlinks instead of page numbers" box in
the TOC dialog, you won't get either one.

--
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.

"ASwadener" wrote in message
news
Oh, and how would one use the \z in the field code? I'm not familiar with
that process. Thanks.

"ASwadener" wrote:

Word2003. Sorry, one more clarification... you are correct, no TOC page

#s
show at all in reading layout... it's when you open in reading layout

and
THEN press Esc or change your view that the page numbers all turn to

page #1.

"Cindy M -WordMVP-" wrote:

Hi ?B?QVN3YWRlbmVy?=,

The TOC is actually displayed in Reading Layout, but the page

numbers all
show up as page #1. Then when you get out of Reading Layout on that
document, the page numbers are still #1. If, however, I simply save

the
attachment to my hard drive (don't try to open it from an email

attachment),
then open it from the hard drive all the page #s are correct.

Interesting. When I view a TOC (created in Word 2003) in the Reading

Layout the TOC
shows no page numbers at all. This actually makes sense, since the RL

"screens" usually
will not match up with the actual page numbers. And the TOC field is

not consctructed
to work with RL "screens".

It appears this behavior is controlled by this switch, which Word 2003

apparently
includes in the TOC field by default:
\z: Hides tab leader and page numbers in Web layout view.

However, when I test sending myself a document containing a TOC

without this switch the
page numbers have not reset to 1.

In which version of Word are these documents being created? Are you

sure the TOC was
showing values other than 1 when it was sent to you?

Can't remember ever hearing of this, before. What, exactly, is

being lost? The
entire field code? The bookmarks on which the TOC is built?

Something else?

Can you give us a set of steps to reproduce the problem so that we

can test it?

Additional finding is that docs created in older versions of

MSWord when
attached to emails do not lose their TOC reference #s in Reading

Layout.
Doesn't fix the problem, but does show that MSWord v9 (at least)

file don't
get corrupted by Reading Layout.

"ASwadener" wrote:

MSWord 2003, when opening an attached document from Outlook

2003,
automatically shows the doc in Reading Layout... an annoyance,

but that would
be fine if it didn't also lose all of the table of contents

entries from the
original document before it was attached to the email. If you

force MSWord
to NOT automatically show documents in Reading Layout (via the
ToolsOptionsGeneral function), the table of contents remains

as it should
be. But the default behavior of MSWord IS to view in Reading

Layout, so most
users who receive docs with TOCs will have this problem. When

I'm creating
docs for prospective clients, I CANNOT have this problem.

I've been having
to generate the table of contents and then copy-and-paste it

as text to get
the document to be presented correctly to the email recipient.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question

or reply in the
newsgroup and not by e-mail :-)