Reply
 
Thread Tools Display Modes
  #1   Report Post  
zebazga zebazga is offline
Junior Member
 
Posts: 0
Default Numbering in headers: sections and full doc

Hi,

I'm formatting a document and can't figure out a way to get all the numbering I need.

- There are roughly 35 sections in my document. The header in each section needs to say "Page x of y" only for that section. Easy to do if you reset page numbering after each section, and use the SECTIONPAGES field.

The table of contents, however, needs needs to list page numbers for the entire document. With the above, you instead get a table of contents that goes: 1, 2, 1, 2, 1, 1, 1, 1, 2, 3, 4, 1, 1, 1, 2, etc.

I tried using SEQ, but evidently you can only use the \c switch so I'd have to first define the sequence in each section, and even then, it wouldn't be accurate for any section with more than 2 pages.

Any suggestions?

Thanks.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Numbering in headers: sections and full doc

The table of contents always displays page numbers as defined in the Page
Number Format dialog box (for each Word section). You will have to set the
"Continue from previous section" option to get the TOC the way you want it.

You can use a formula field to calculate the page number(s) that you want to
show in the header. For more on this approach, post back.

-- 
Stefan Blom
Microsoft Word MVP




---------------------------------------------
"zebazga" wrote in message ...


Hi,

I'm formatting a document and can't figure out a way to get all the
numbering I need.

- There are roughly 35 sections in my document. The header in each
section needs to say "Page x of y" only for that section. Easy to do if
you reset page numbering after each section, and use the SECTIONPAGES
field.

The table of contents, however, needs needs to list page numbers for the
entire document. With the above, you instead get a table of contents
that goes: 1, 2, 1, 2, 1, 1, 1, 1, 2, 3, 4, 1, 1, 1, 2, etc.

I tried using SEQ, but evidently you can only use the \c switch so I'd
have to first define the sequence in each section, and even then, it
wouldn't be accurate for any section with more than 2 pages.

Any suggestions?

Thanks.




--
zebazga

  #3   Report Post  
zebazga zebazga is offline
Junior Member
 
Posts: 0
Default

Please do share how I can use a formula. I didn't even think of that.

Quote:
Originally Posted by Stefan Blom[_3_] View Post
You can use a formula field to calculate the page number(s) that you want to
show in the header. For more on this approach, post back.

-- 
Stefan Blom
Microsoft Word MVP
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Numbering in headers: sections and full doc

To store the number of pages in each section, you can make use of SET
fields; these create variables that can be referenced in a formula field. If
you place the fields inside the headers, it is less likely that someone will
delete them by mistake, but, of course, you will have to *unlink* all the
headers.

Use the following SET field in the first section header: { SET pagecount1
{ SECTIONPAGES } }

Second section header: { SET pagecount2 { SECTIONPAGES } }

Repeat for each subsequent section.

Do the following to display the calculated "page" numbers:

Section 1: { = { NUMPAGES } - { REF pagecount2 } - { REF pagecount3 } }
(and so forth, for the remaining sections)

Section 2: { = { NUMPAGES } - { REF pagecount 1 } - { REF pagecount2 } }
(again, you must add fields for subsequent sections)

To insert each pair of field delimiters, { }, press Ctrl+F9. F9 updates the
fields in the selection. To show/hide field codes, press Alt+F9.

With many sections, this would be time-consuming of course.

--
Stefan Blom
Microsoft Word MVP




"zebazga" wrote in message
...

Please do share how I can use a formula. I didn't even think of that.

'Stefan Blom[_3_ Wrote:
;492318']You can use a formula field to calculate the page number(s)
that you want to
show in the header. For more on this approach, post back.

-- 
Stefan Blom
Microsoft Word MVP





--
zebazga


  #5   Report Post  
zebazga zebazga is offline
Junior Member
 
Posts: 0
Default

Time consuming indeed. With more than 30 sections, I just don't see that as a viable option. Especially once the document is taken over by a different document.

Thanks for the information. I guess Word is just too limited in this case.


Quote:
Originally Posted by Stefan Blom[_3_] View Post
To store the number of pages in each section, you can make use of SET
fields; these create variables that can be referenced in a formula field.

With many sections, this would be time-consuming of course.

--
Stefan Blom
Microsoft Word MVP


  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Numbering in headers: sections and full doc

Perhaps someone will think of a more clever way to do this. It is clear,
though, that it involves a formula field.

--
Stefan Blom
Microsoft Word MVP




"zebazga" wrote in message
...

Time consuming indeed. With more than 30 sections, I just don't see that
as a viable option. Especially once the document is taken over by a
different document.

Thanks for the information. I guess Word is just too limited in this
case.


'Stefan Blom[_3_ Wrote:
;492325']To store the number of pages in each section, you can make use
of SET
fields; these create variables that can be referenced in a formula
field.

With many sections, this would be time-consuming of course.

--
Stefan Blom
Microsoft Word MVP





--
zebazga


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sections, headers Ken Mayer Page Layout 3 November 3rd 07 07:23 PM
Full-page headers Wallace Page Layout 1 July 24th 06 08:30 PM
How do I restart page numbering when numbering sections differentl Ralph Microsoft Word Help 1 April 21st 06 06:19 PM
different headers for different sections Frank Drost Microsoft Word Help 3 April 16th 06 01:10 AM
Different Headers on Different Sections Cheer-Phil-ly Microsoft Word Help 3 November 4th 05 10:00 PM


All times are GMT +1. The time now is 08:11 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"