generating header from table of contents

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

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andiejeAuthor Commented:
given the information in eric's answer i found this document

i shall investigate this further
andiejeAuthor Commented:
many thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.