Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Different Section Numbering

0 views
Skip to first unread message

Scoprio540

unread,
Mar 8, 2004, 1:54:48 PM3/8/04
to

The problem I have is that a document im working on requires the 'Page X
of Y' bit in the footer.

However this document has sections A - Z (which are broke up with
section breaks), my problem is that each section (A - Z) may have
multiple sub-sections.

Now I need to figure out how to do the 'Page X of Y' (specifically the
'Y' bit) for each section and its sub-sections.

e.g.
Section F (2 Pages)
Sub Section F1 (1 Page)
Sub Section F2 (2 Pages)

Total Number of pages: 5

Footer bit
Section F Page 1 of 5
Sub Section F1 Page 3 of 5
Sub Section F2 Page 4 of 5

Thanks in advance
Scorpio540


------------------------------------------------
~~ Message posted from http://www.WordForums.com/

Suzanne S. Barnhill

unread,
Mar 9, 2004, 9:17:14 AM3/9/04
to
If there is a better way to do this, I don't know of it. Place a bookmark on
the last page of each (logical) section. For the Y, use a PageRef to that
bookmark.

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

"Scoprio540" <Scoprio5...@nospam.WordForums.com> wrote in message
news:Scoprio5...@nospam.WordForums.com...

Scoprio540

unread,
Mar 10, 2004, 9:04:06 AM3/10/04
to

Just managed to get it working. Heres what I did:
in the section have a bookmark looking at a number (eg 1) called
'Section{SectionLetter}PageNo'.

in the section have a bookmark looking at a {SECTIONPAGES} field called
'Section{SectionLetter}'.

Then in the section/sub sections have a bookmark looking to a complex
'if' statement (which adds {SECTIONPAGES} to the value of the previous
section/subsection{sectionletter}).

In all the footers the 'Page Y' looks to the
'section{sectionletter}pageno' bookmark.

A macro is then ran which loops through all sections and their sub
sections. In each sub/section it will look up the
'section{sectionletter}' bookmark. Then when it can find no more sub
sections it puts the number into the section{sectionletter}pageno
bookmark.

one refresh of all the documents fields and the page numbers are
displayed correct.

Post here if you would like a sample template of what i did.

Scoprio540

unread,
Mar 10, 2004, 9:04:06 AM3/10/04
to

Just managed to get it working. Heres what I did:
in the section have a bookmark looking at a number (eg 1) called
'Section{SectionLetter}PageNo'.

in the section have a bookmark looking at a {SECTIONPAGES} field called
'Section{SectionLetter}'.

Then in the section/sub sections have a bookmark looking to a complex
'if' statement (which adds {SECTIONPAGES} to the value of the previous
section/subsection{sectionletter}).

In all the footers the 'Page Y' looks to the
'section{sectionletter}pageno' bookmark.

A macro is then ran which loops through all sections and their sub
sections. In each sub/section it will look up the
'section{sectionletter}' bookmark. Then when it can find no more sub
sections it puts the number into the section{sectionletter}pageno
bookmark.

one refresh of all the documents fields and the page numbers are
displayed correct.

Post here if you would like a sample template of what i did.

Scorpio540

0 new messages