Use header/footer that auto puts in SECTION name

T

tjsmags

Can you name SECTIONS or PAGE BREAKS? Like you can name worksheet tabs in
Excel, can you name sections/page breaks so that when you print the document
the header/footer will be programmed to automatically put in the section/page
break name?

I have a document broken down using page breaks. Each page break starts a
new area of data (i.e. marketing, manufacturing, contacts, etc). How can I
have these new sections print in the footer?
 
J

Jay Freedman

Can you name SECTIONS or PAGE BREAKS? Like you can name worksheet tabs in
Excel, can you name sections/page breaks so that when you print the document
the header/footer will be programmed to automatically put in the section/page
break name?

I have a document broken down using page breaks. Each page break starts a
new area of data (i.e. marketing, manufacturing, contacts, etc). How can I
have these new sections print in the footer?

You cannot name the sections or page breaks themselves.

If each section or page has a title that you can use for a name, choose a single
style that you apply to every one of those titles and to nothing else in the
document.

Then in the header or footer, insert a StyleRef field that points to that style,
and it will display the text of the most recent occurrence of the style.
 
T

tjsmags

Great. I got that to work, but now if I have multiple pages per section/page
break it prints two different titles. How do I get it to print the same
title on multiple pages?

For example, right now the manufacturing section is 2 pages long. It prints
Manufacturing on the first page and then prints the NEXT section/page break
title on the 2nd page. How do I have Manufacturing printed on both pages?
 
S

Suzanne S. Barnhill

For a StyleRef field to work here, you need to have only one paragraph in
the nominated style in each section where you want the given header. If it's
not possible to work that out, then you need to unlink the headers of the
sections and type the header text in manually.

As an example, in the Manufacturing section, if you have Manufacturing in
Heading 1 style and are picking up that style with the StyleRef, then you
should have no other Heading 1 paragraphs in that section; if they're
Heading 1, they deserve their own header, and if they don't deserve their
own header, then perhaps they should be Heading 2 instead.
 
Top