View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
 
Posts: n/a
Default Using Ref. Document to create TOC for multiple documents

The RD field uses the filename (full path), not the title of the chapter,
and it will pick up all the headings within the file. So say you have named
your chapters Chapter1.doc, Chapter2.doc, and so on, the example given in
the "Field codes: RD (Referenced Document) field" Help topic suggests what
you could end up with:

{ TOC }
{ RD C:\\Manual\\Chapters\\Chapter1.doc }
{ RD C:\\Manual\\Chapters\\Chapter2.doc }
{ RD C:\\Manual\\Chapters\\Chapter3.doc }

If any part of the file path includes spaces, you must enclose the entire
path in quotation marks:

{ TOC }
{ RD "C:\\Manual\\Chapters\\Chapter 1.doc" }
{ RD "C:\\Manual\\Chapters\\Chapter 2.doc" }
{ RD "C:\\Manual\\Chapters\\Chapter 3.doc" }

The document that contains the TOC and RD fields should contain nothing
else. But I still maintain that it would be much simpler just to combine all
35 chapters into a single document.

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

"Bill" wrote in message
...
My initial question was about combining 35 chapters that are in separate
documents and manually formatted and one suggestion was using ref.doc with
ctrl-F9. So, I created a file TOC and within it a doc. called TOC and in

it
I typed one under another 35 ref.doc fields using the name of each

chapter.
Must I use the exact name of the chapter as it is in Word? Next, am I
supposed to copy each chapter into the TOC doc? 3rdly, within the 35
chapters, I have about 180 subtitles, must I create RD fields for them

too.
Eventually, I want to put all this info into a web page and I don't want

it
to be confusing or overwhelming. Right now, I'm the only one who's
overwhelmed.