Dynamic Page Numbering using SECTIONPAGE and/or Reference SECTIONPAGE

Is there a way to refer to the actual value of SECTIONPAGE for a specific section of a Word 2007 document with multiple sections?

 

I have a document with a main body and two appendices- A and B. Each appendix has a footer with Page AX of N ( or Page BX of N ) where X is 1, 2, 3, .... up to the total SECTIONPAGE value of N.  In the main document, the footer has a Page X of Y format, and currently the Y includes not only the number of pages in the main body, but also all the pages in the appendices as well. I just want Y to be the number of pages in the main body - no appendix page count included.   I could always just manually subtract the total number of appendix pages from the {NUMPAGES} value in the main body header, or I could break this thing into three documents, BUT I'm hoping that there is some way to refer to the SECTIONPAGE values from Appendix A and Appendix B and just subtract those off of NUMPAGES. This would look something like:

{={NUMPAGES}-{SECTIONPAGE_VALUE_FROM_APPENDIX_A}-{SECTIONPAGE_VALUE_FROM_APPENDIX_B}}

 

Is this possible? Since WORD can keep track of the SECTIONPAGE values properly, it seems like there ought to be a way to refer to the specific SECTIONPAGE values for various sections within a document......

 

Thanks for any help!

 

Answer
Answer
If you have put the A & B appendixes [sp?] into sections, then the body of the document is in it's own section as well. Just use { SECTIONPAGES } in place of { NUMPAGES } for that portion of your page x of y . I'll assume that you've got the first page numbering sorted out.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated January 30, 2023 Views 1,712 Applies to: