Adding TOC Headings to Header

M

mglmstr

(Word 2007)
I'm creating a 150+ page document with about 6 levels of headings. I want
the heading for every page to appear in the Header without having to manually
type it in. Is there a way to do this? I sure hope so.

So the header would look something like this if I was viewing a level 4
Header Page:
Header1/Header2/Header3/Header4

Please - There's got to be a way to do this.

Thanks,
-B
 
S

Stefan Blom

There is no built-in way to do what you are asking for.

What you can do is insert a STYLEREF field in the header in order to display
the current heading at a particular level, for example, the current Heading
1.

Stefan Blom
Microsoft Word MVP
 
M

mglmstr

Thanks,

Seems like such an easy feature to add and very useful for us people that
make huge Word docs.... :-(
 
S

Suzanne S. Barnhill

Well, the StyleRef field *is* a feature and is relatively easy to use.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
M

mglmstr

Unfortunately the docs I write are living docs that constantly get updated.
Doing this for 150 pages, then if I update page 5 with new content, now I
must update the 145 pages that follow page 5.

I appreciate the suggestion though.

I looked at the following page, which i think is yours Suzan, and understand
the styleref, but I don't think it works in my situation unless I'm not
understanding things clearly. Plus, why not just type in the heading info?
Seams easier than clicking around in menus to get the heading info in there.

http://sbarnhill.mvps.org/WordFAQs/StyleRef.htm

-B
 
S

Suzanne S. Barnhill

If you put StyleRef fields in the header, they will reflect all changes on
the page; that's what they're for. The whole point of a header is to put the
same information on every page; the whole point of StyleRef is to allow that
"same" information to change dynamically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
M

mglmstr

Thank's

I'll look into it more and report back with questions or hopefully a big
THANK YOU... :)

-Brent
 
M

mglmstr

YES!!!! It's doing what I want it to do now. I didn't see your message
PamC until after I looked into it more, but yes, it is possible...

I tried the { STYLEREF "Heading1" } Didn't work, user error I'm sure.
Maybe I forgot the quotes. Insterting the Syleref through the menus worked
wondefully though. Now I see some formatting inconsistencies... haha
That's another question for another thread though.

Thank you so much Suzanne and PamC!!!!

-Brent

PamC via OfficeKB.com said:
You put the field into the header once and Word checks for the headers on the
page and puts in the information into the header. And do you realize that
you can create a StyleRef for each heading level you want and place them one
after the other? Something like


{ STYLEREF "Heading 1" } / { STYLEREF "Heading 2" } / etc.

Try it and let us know.

PamC
If you put StyleRef fields in the header, they will reflect all changes on
the page; that's what they're for. The whole point of a header is to put the
same information on every page; the whole point of StyleRef is to allow that
"same" information to change dynamically.
Unfortunately the docs I write are living docs that constantly get
updated.
[quoted text clipped - 50 lines]
Thanks,
-B
 
S

Suzanne S. Barnhill

Glad you got it working.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

mglmstr said:
YES!!!! It's doing what I want it to do now. I didn't see your message
PamC until after I looked into it more, but yes, it is possible...

I tried the { STYLEREF "Heading1" } Didn't work, user error I'm sure.
Maybe I forgot the quotes. Insterting the Syleref through the menus
worked
wondefully though. Now I see some formatting inconsistencies... haha
That's another question for another thread though.

Thank you so much Suzanne and PamC!!!!

-Brent

PamC via OfficeKB.com said:
You put the field into the header once and Word checks for the headers on
the
page and puts in the information into the header. And do you realize
that
you can create a StyleRef for each heading level you want and place them
one
after the other? Something like


{ STYLEREF "Heading 1" } / { STYLEREF "Heading 2" } / etc.

Try it and let us know.

PamC
If you put StyleRef fields in the header, they will reflect all changes
on
the page; that's what they're for. The whole point of a header is to put
the
same information on every page; the whole point of StyleRef is to allow
that
"same" information to change dynamically.

Unfortunately the docs I write are living docs that constantly get
updated.
[quoted text clipped - 50 lines]
Thanks,
-B
 

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