Change # of pages to reflect only pages after forematter?

S

stickcc

I need to create a template to use for mulitple documents, and the client
prefers we use page x of y. Can I change y to equal the count of the pages to
not include the forematter? I have multiple sections, so I can't use that
field. No clue if this would be possible.
 
T

Terry Farrell

Edit the Pages field so that it reads { = { NUMPAGES } - x } where x are the
number of pages in the fore matter. This can be automated further if needed
by including a hidden bookmarked SECTIONPAGES field in the fore matter and
using the bookmark result in place of x.
 
S

stickcc

Thanks so much. Now I'm not sure how to edit the pages field. When I click on
edit field, and the Field window opens, I went to Field Codes button where I
entered the bracketed information, but it wouldn't let me save it. How do you
edit the field?
 
S

stickcc

I figured out how to edit the field by doing Shift-F9 to display the field. I
put it in exactly how you wrote it and I'm getting this
!Syntax Error, {

Any suggestions?
 
M

macropod

Hi stickcc,

In the second section of your document:
.. open the header or footer
.. make sure the header/footer is not not set to 'continue from previous'

In your first section (ie the one containing the forematter):
.. open the header or footer
.. select the final paragraph mark
.. press Ctrl-F9 twice to create set of nested fields (ie '{{ }}')
.. fill in arround the field braces thus: '{SET NoNumber {SECTIONPAGES}}'
.. position the selection point anywhere within these fields and press F9 to update

In the second section of your document:
.. open the header or footer
.. select the final paragraph mark
.. press Ctrl-F9 twice to create set of nested fields (ie '{{ }}')
.. fill in arround the field braces thus: '{={NUMPAGES}-NoNumber}'
.. position the selection point anywhere within these fields and press F9 to update
 
T

Terry Farrell

The { } brackets must be inserted using Ctrl+F9 as they are actually special
characters masquerading as ordinary { } brackets.

Terry
 
T

Terry Farrell

Macropod

I've never used the SET NoNumber field to hide it. Thanks for that useful
tip.

Terry

macropod said:
Hi stickcc,

In the second section of your document:
. open the header or footer
. make sure the header/footer is not not set to 'continue from previous'

In your first section (ie the one containing the forematter):
. open the header or footer
. select the final paragraph mark
. press Ctrl-F9 twice to create set of nested fields (ie '{{ }}')
. fill in arround the field braces thus: '{SET NoNumber {SECTIONPAGES}}'
. position the selection point anywhere within these fields and press F9
to update

In the second section of your document:
. open the header or footer
. select the final paragraph mark
. press Ctrl-F9 twice to create set of nested fields (ie '{{ }}')
. fill in arround the field braces thus: '{={NUMPAGES}-NoNumber}'
. position the selection point anywhere within these fields and press F9
to update

--
Cheers
macropod
[MVP - Microsoft Word]


stickcc said:
I need to create a template to use for mulitple documents, and the client
prefers we use page x of y. Can I change y to equal the count of the pages
to not include the forematter? I have multiple sections, so I can't use
that field. No clue if this would be possible.
 
S

stickcc

Thanks to both of you for your help! I knew there had to be a way to get
around this issue.

Terry Farrell said:
Macropod

I've never used the SET NoNumber field to hide it. Thanks for that useful
tip.

Terry

macropod said:
Hi stickcc,

In the second section of your document:
. open the header or footer
. make sure the header/footer is not not set to 'continue from previous'

In your first section (ie the one containing the forematter):
. open the header or footer
. select the final paragraph mark
. press Ctrl-F9 twice to create set of nested fields (ie '{{ }}')
. fill in arround the field braces thus: '{SET NoNumber {SECTIONPAGES}}'
. position the selection point anywhere within these fields and press F9
to update

In the second section of your document:
. open the header or footer
. select the final paragraph mark
. press Ctrl-F9 twice to create set of nested fields (ie '{{ }}')
. fill in arround the field braces thus: '{={NUMPAGES}-NoNumber}'
. position the selection point anywhere within these fields and press F9
to update

--
Cheers
macropod
[MVP - Microsoft Word]


stickcc said:
I need to create a template to use for mulitple documents, and the client
prefers we use page x of y. Can I change y to equal the count of the pages
to not include the forematter? I have multiple sections, so I can't use
that field. No clue if this would be possible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top