Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
Please do share how I can use a formula. I didn't even think of that.
|
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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. |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 | |
|
|
![]() |
||||
Thread | Forum | |||
Sections, headers | Page Layout | |||
Full-page headers | Page Layout | |||
How do I restart page numbering when numbering sections differentl | Microsoft Word Help | |||
different headers for different sections | Microsoft Word Help | |||
Different Headers on Different Sections | Microsoft Word Help |