Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I have a document with several even page breaks.
I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
In page X of Y, what should be counted by the "Y" part? The number of pages
in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Stefan,
I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
In each Word section whose page count you want, insert a field such as this
one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#5
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Stefan,
I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I think this should do what you want (assuming that I understood your
requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#7
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Stefan,
When I used your code and pressed ALT+F9, the code remained. If there's a way I can send you my document so that you can see how it's set up, I'm sure that would help. Is that possible? The entire document is only about 20 pages. -- MargaretA "Stefan Blom" wrote: I think this should do what you want (assuming that I understood your requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#8
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
If the code remained, you didn't use CTRL+F9 for the field brackets {}.
These are fields not text! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org MargaretA wrote: Stefan, When I used your code and pressed ALT+F9, the code remained. If there's a way I can send you my document so that you can see how it's set up, I'm sure that would help. Is that possible? The entire document is only about 20 pages. I think this should do what you want (assuming that I understood your requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#9
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I used Alt+F9
-- MargaretA "Graham Mayor" wrote: If the code remained, you didn't use CTRL+F9 for the field brackets {}. These are fields not text! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org MargaretA wrote: Stefan, When I used your code and pressed ALT+F9, the code remained. If there's a way I can send you my document so that you can see how it's set up, I'm sure that would help. Is that possible? The entire document is only about 20 pages. I think this should do what you want (assuming that I understood your requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#10
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Alt+F9 just toggles the display from field codes to field results and back.
To insert a field, you must use Ctrl+F9. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "MargaretA" wrote in message news ![]() I used Alt+F9 -- MargaretA "Graham Mayor" wrote: If the code remained, you didn't use CTRL+F9 for the field brackets {}. These are fields not text! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org MargaretA wrote: Stefan, When I used your code and pressed ALT+F9, the code remained. If there's a way I can send you my document so that you can see how it's set up, I'm sure that would help. Is that possible? The entire document is only about 20 pages. I think this should do what you want (assuming that I understood your requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#11
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I think I've finally figured it out. I think the code for the last "y" page
number (Page X of Y) in my document is: { = { NUMPAGES } -11 } I hope it doesn't goof up for some crazy reason...but it's working right now. Thanks to all of you! MargaretA "Suzanne S. Barnhill" wrote: Alt+F9 just toggles the display from field codes to field results and back. To insert a field, you must use Ctrl+F9. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "MargaretA" wrote in message news ![]() I used Alt+F9 -- MargaretA "Graham Mayor" wrote: If the code remained, you didn't use CTRL+F9 for the field brackets {}. These are fields not text! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org MargaretA wrote: Stefan, When I used your code and pressed ALT+F9, the code remained. If there's a way I can send you my document so that you can see how it's set up, I'm sure that would help. Is that possible? The entire document is only about 20 pages. I think this should do what you want (assuming that I understood your requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
#12
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Well, if you know that it is always 11 pages that should be excluded from
the count, you can of course use 11 in the formula field. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I think I've finally figured it out. I think the code for the last "y" page number (Page X of Y) in my document is: { = { NUMPAGES } -11 } I hope it doesn't goof up for some crazy reason...but it's working right now. Thanks to all of you! MargaretA "Suzanne S. Barnhill" wrote: Alt+F9 just toggles the display from field codes to field results and back. To insert a field, you must use Ctrl+F9. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "MargaretA" wrote in message news ![]() I used Alt+F9 -- MargaretA "Graham Mayor" wrote: If the code remained, you didn't use CTRL+F9 for the field brackets {}. These are fields not text! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org MargaretA wrote: Stefan, When I used your code and pressed ALT+F9, the code remained. If there's a way I can send you my document so that you can see how it's set up, I'm sure that would help. Is that possible? The entire document is only about 20 pages. I think this should do what you want (assuming that I understood your requirements correctly): In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page { PAGE } of { = { REF pagecount1 } + { REF pagecount2 } } (Note that each SET field has a nested SECTIONPAGES field, and the formula fields have nested REF fields.) Be sure to set the starting page number for section 12 to the appropriate value. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I really appreciate your helpfulness! And I hate to admit it, but I'm still having trouble. To get the page number in the footer of the section where numbering begins at "1" (which is actually Section 7 of the document), I entered: Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } } I selected all and pressed Alt+F9. I got additional code, instead of Page X of Y. Would you be so kind as to write the exact code for my document's Section 7, where page numbering should begin at Page 1, and for Section 12, the last section in the document? (There are 3 sections between Sections 7 and 12 that are single blank pages that should not be in the page count.) I realize that I'm probably pushing the limit on my requests for help on this topic, so I'm especially grateful for your attention. This problem has made me a desperate woman! -- MargaretA "Stefan Blom" wrote: In each Word section whose page count you want, insert a field such as this one: { SET pagecount1 { SECTIONPAGES } } (Use pagecount2 in the second section, and so on.) To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to update. Use Alt+F9 to show/hide field codes. For the total page count, use the following field: { = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } } (Of course, this is just an example with three sections.) -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... Stefan, I want the "Y" number to include all pages in the document with page numbers. I don't want to include the blank pages or the few pages at the very beginning of the document. -- MargaretA "Stefan Blom" wrote: In page X of Y, what should be counted by the "Y" part? The number of pages in a particular section? Or the total number of pages in certain sections? Generally, to count the number of pages in a specific section, you can make use of the SECTIONPAGES field (insert it in that section). So if you just want to count the pages in one particular section, simply insert the SECTIONPAGES field in that section. -- Stefan Blom Microsoft Word MVP "MargaretA" wrote in message ... I have a document with several even page breaks. I begin numbering several pages into the document, then restart numbering after each blank even page break. At the end of the document I have Page 19 of 33. It should be Page 19 of 19. Please tell me how to solve this dilemma! Thanks very much! MargaretA |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Page numbering with Section Breaks | Microsoft Word Help | |||
Section breaks and page numbering | Microsoft Word Help | |||
I have section breaks in lge doc. Page numbering not working. | Page Layout | |||
section breaks -- retain page numbering in footer | Microsoft Word Help | |||
Section Breaks & Page Numbering | Formatting Long Documents |