Share via

Insert level one heading description into page header automatically

Anonymous
2012-03-03T19:55:28+00:00

In the header of each page in most books is the chapter number and the title of the chapter. How do you insert that into the header so that you did not have to retype it into the header. Do you create a field to store it and then used the field name in the header--if so how do you do that. Or put another way, how can I get a heading 1 description and number to automatically be placed in the header without having to retype it. It is flagged to go to the table of contents--how can I flag it to go to the header?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
2012-03-03T20:32:44+00:00

The STYLEREF field is used to do that.

In your case { STYLEREF "Heading 1" }

You can insert it from the Insert>Quick Parts>Field... of by using Ctrl+F9 to insert the field delimiters { } and enter text as shown above inside them.  Use Alt+F9 to toggle the display of the field codes.

There are a number of Options and Switches that can be added to the field to control where Word looks of the Style to use.  You can see these in the Field dialog accessed by the former method of creating the field and, for the switches, click on Field Codes and then on Options.


Hope this helps.

Doug Robbins - Word MVP,
Email: dkr[atsymbol]mvps[dot]org
Posted via the Community Bridge

"mark_5565" wrote in message news:******@communitybridge.codeplex.com.word...

In the header of each page in most books is the chapter number and the title of the chapter. How do you insert that into the header so that you did not have to retype it into the header. Do you create a field to store it and then used the field name in the header--if so how do you do that. Or put another way, how can I get a heading 1 description and number to automatically be placed in the header without having to retype it. It is flagged to go to the table of contents--how can I flag it to go to the header?


http://answers.microsoft.com/message/4c307af8-b96f-444e-9c7f-c0b3d46d2963
Meta tags: windows_xp; word; office_2010

Sat, 3 Mar 2012 19:55:28  +0000: CreateMessage  mark_5565

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2012-03-03T20:55:54+00:00

Use the StyleRef field code

Useful StyleRef Tricks

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

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Stefan Blom 342.4K Reputation points MVP Volunteer Moderator
2012-03-03T20:29:35+00:00

Into the header, insert two STYLEREF fields: one that references the heading number and one that references the heading text.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful