Reset Page Number with each Level 1 Heading

E

Eddie Keator

I created this doc that will be sectioned off by a page break before setting
in the Heading 1 style. I want to be able to restart the page numbering with
each Heading 1.

This will enable me to keep the entire document as a single document, able
to print just a specific section (and refreshed TOC) after a revision or
update.

A bonus would be a method of counting the pages of each section (Heading 1)
to report page x of y.

I do not want to insert section breaks as I am using them now in parts of
the document that are 2 and three columns.

Any expertise in this regard would be greatly appreciate.

I can send a barebone doc that has the format I am using to get a better
idea of what I am asking for.

Thanks

-Eddie
 
D

Doug Robbins

Use a Next Page Section Break in place of a Page Break and then via the
Format Page Numbers button on the Headers and Footers toolbar, set the
numbering to restart at 1 for each Section.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
E

Eddie Keator

Thanks for the reply

As I stated, I am use the "Page Break Before" property that I set for the
Paragraph and defined that in my Style.

I do not want to use Insert Section Breaks. The reason behind that is that I
am already using Section Breaks in areas of my document already.

I am sure that there is a formula solution to resetting the the page number
adter each Header 1 style (which is level 1 in my outline and TOC).

Appreciate the effort tho....

Cheers
Eddie
 
K

Klaus Linke

Hi Eddie,
I am sure that there is a formula solution to resetting the the page
number adter each Header 1 style (which is level 1 in my outline
and TOC).

Glad you have so much confidence in Word, but I'm afraid you may be a bit
optimistic.

The only solutions avoiding section breaks that I can think of are pretty
ugly.

You could insert a cross reference to the heading's page number after each
heading and format it in a white character style.
Let's call that style h_page, then you can put the running chapter page
number in the header using
{ = { Page } - { StyleRef "h_page" } + 1 }

If you write a macro to insert the cross references (PageRef fields), I'd
make that strip out all the old ones and insert them anew.

It seems very unlikely to me that there's a wholly automatic solution.
Such a solution would need to get at the page number of the last "Heading 1"
paragraph, and I don't think that can be done.

It would be nice if you could use built-in bookmarks for something like
that:
{ PageRef \\HeadingLevel }
.... but it does not work.

Greetings,
Klaus
 
E

Eddie Keator

I tried your method.... I got syntax errors

I'm afriad that you're right... about being optimistic.

I sent the doc (stripped down version) to our last Connections Presentor (at
his invite) and we'll see how that works out.

Thanks again Klause
-Eddie
 
Top