Disappearing Table of Contents

P

Paul E

i have a form which includes a table of contents and have
used for many customer documents. I opened up a few of
the documents and the entire TOC has been replaced by

{TOC \o "1-3"\ h\ z\ u}

Any clues?
 
G

garfield-n-odie

You have "field code display" toggled on. Toggle it off by pressing Alt+F9.
 
S

Suzanne S. Barnhill

Think of this as a challenge in a good way. What you have just seen is the
"peek behind the curtain" that gives you an idea of how Word is working. You
can learn what all the gobbledygook in the TOC field is about from
http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm, but the TOC field is
only one of many fields that you can use in Word. Have a look at the Insert
| Field dialog and explore it to find some of the others. Although almost
all these fields have been available in Word for many versions, in each new
version Microsoft makes some of them easier to use by adding a user-friendly
dialog to create them. The Insert | Index and Tables (or Insert | Reference
| Index and Tables) dialog is just one of them. Others (all available from
the Insert menu) are Cross-reference, Hyperlink, Date and Time (a dangerous
one; see http://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm), Footnote and
Endnote, Caption, etc.

Once you know how fields are constructed, there are many you can create "by
hand," by pressing Ctrl+F9 to insert the field braces and then typing the
required text between them (you can also type the text first, select it, and
press Ctrl+F9). Some fields that you may use all the time without realizing
they are fields are Page and NumPages, which you can use the buttons on the
Header and Footer toolbar to insert (you can also use the "Page X of Y"
AutoText entry to insert "Page { PAGE } of { NUMPAGES }"); when you need to
use these fields in more complex nested field constructions, it is helpful
to realize that they are fields and to know how to insert them using the
buttons or by hand to combine with other field syntax that you can type.
 
C

consulting guy

Wow. I was having the same problem as the original person posting. Feeling foolish at the moment for not knowing this and tearing my hair out last night because I thought some major project files were screwed up (especially after having used word for years). First time I've used this site so its really nice to see how helpful folks are and the wealth of information here.
 

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

Top