• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 605
  • Last Modified:

generating header from table of contents

hi
is it possible in word 2003 to get the page header to automatically display the relevant section heading from the table of contents. lets say you have the following toc

1. word
  1.1 creating toc
   1.2 columns

2. excel
   2.1 formulae

the page showing section 1.2 columns would have the 'chapter' title 'word' in the header

thanks
0
andieje
Asked:
andieje
  • 2
  • 2
1 Solution
 
GrahamSkanCommented:
You could bookmark the heading text in the TOC, but the bookmark wouldn't survive rebuilding the TOC.

The simplest way would be to bookmark the heading directly and to put a REF field pointing to it on the header.
0
 
GrahamSkanCommented:
Another thing to remember is that a Header is intended to carry over between pages. To be certain that the page has a new Header you would need to use a seperate Section for it.
0
 
Eric FletcherCommented:
The STYLEREF field is designed to do this. If the style used for "1. word" and "3. excel" was, say, "Heading 1", you could use a field like { STYLEREF "Heading 1" } to have it display the current Heading 1 style in a page header.

If you use this method, you wouldn't need to have a new section.
0
 
andiejeAuthor Commented:
given the information in eric's answer i found this document

http://support.microsoft.com/kb/198371

i shall investigate this further
0
 
andiejeAuthor Commented:
many thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now