Can I insert current heading text in page header?

T

Top Spin

Is there a way that I can put the paragraph number and text for the
current heading (1-4) in the page header?

I am writing a Programmer's Guide that is now up to 50 pages. It has
dozens of headers from levels 1-4. Some of those headers have similar
text and they may cover several pages. I would like the reader to be
able to tell where they are in the document even if there is no
heading on that page.

I would like something like the Insert Cross-Reference function, but
for the most recent heading, rather than for a particular heading.

Example:

In the middle of page 7, there is this heading (level 3):

3.A.2 Detailed Syntax Diagrams

The next header, which is in the middle of page 12, is:

3.B Data Structures

I would like the page headers on pages 8-12 to include look like this:

Functional Specification for XYZ Program
3.A.2 Detailed Syntax Diagrams

Starting on page 13, it would lool like this:

Functional Specification for XYZ Program
3.B Data Structures

The first line of every header would be the same title. The second
line would be the the paragraph number and text of the previous header
(of any level) prior to this page.

Thanks
 
G

Graham Mayor

From your description, insert a pair of Styleref fields in the header
calling Heading 1 and Heading 3 paragraph styles.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.dsl.pipex.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
S

Suzanne S. Barnhill

Note that you'll probably need two StyleRefs for each heading, one for the
number and another for the text.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Suzanne S. Barnhill

Someone published a macro or field some time back that would do what you
want. You might use Google Groups to search for posts on the StyleRef field.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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