
Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hi! Thanks for your response.
>
[quoted text clipped - 47 lines]
>> >
>> > Many thanks for your advice!...
Anne, Doug,
Thank you both for your helpful replies.
I had hoped there was a checkbox to click somewhere that would allow me to
use hidden text, and spare you the boring details. I am sure you will have a
more elegant solution for this simple problem than the one I came up with.
I am working with a template which has several sections in the front matter,
numbered continuously with roman numerals. The body of the document has
"Page x of x" arabic numbering which restarts at page one. Therein lies the
rub, since the total number of pages needs to exclude the front matter.
A fairly straighforward solution was to place a {PAGE} field alongside of a
stable feature of the last page of the front matter, bookmark it (lets call
it frontpages), and then use the bookmark in a simple formula to get the
desired total :
{ = {NUMPAGES } - frontpages }.
This works perfectly well, but hiding the bookmarked field is apparently not
an option. I'd swear I have previously used hidden text without this problem,
which is why I was looking for help in that direction.
As it happens, the spot deemed least likely to be disturbed by users of the
template where the bookmark could be secreted is in a heading. I had tried
using white text, which is fairly unobtrusive on the page, but is
unacceptably visible in the TOC...
Looking forward, with much appreciation, to your thoughts on the matter.
* * * * * * * * * * *
> A possible work around is to format the paragraph with a negative indent and
> a tab stop at the left margin and have the bookmark at the position of the
[quoted text clipped - 55 lines]
> >> >
> >> > Many thanks for your advice!...
Charles Kenyon - 18 Oct 2005 19:31 GMT
I assume that you've reviewed
http://word.mvps.org/FAQs/Numbering/PageNumbering.htm and
http://word.mvps.org/FAQs/Formatting/NumberingFrontMatter.htm.
The following calculation field may work. It assumes that the body of your
text is numbered continuously and requires no hidden bookmarks. It
calculates the number of pages in the front matter and then subtracts that
number from the NumPages field.
Page { Page } of { = { NumPages } - { = { NumPages } - { Page } } }

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Anne, Doug,
>
[quoted text clipped - 105 lines]
>> >> >
>> >> > Many thanks for your advice!...
Charles Kenyon - 18 Oct 2005 19:43 GMT
Oops! The last Page field needs to be a page reference to a bookmark on the
last page.
Page { Page } of { = { NumPages } - { = { NumPages } -{ PAGEREF
LastPage } } }
LastPage is anything that is bookmarked on the last page. In this case, I
typed "The end." at the end and bookmarked it.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
>I assume that you've reviewed
>http://word.mvps.org/FAQs/Numbering/PageNumbering.htm and
[quoted text clipped - 121 lines]
>>> >> >
>>> >> > Many thanks for your advice!...
Charles Kenyon - 18 Oct 2005 19:47 GMT
I just tried this with the bookmarked text hidden, and it works fine. The
name of my bookmark is LastPage, this isn't anything built into Word.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Oops! The last Page field needs to be a page reference to a bookmark on
> the last page.
[quoted text clipped - 131 lines]
>>>> >> >
>>>> >> > Many thanks for your advice!...
Another Dan - 18 Oct 2005 22:46 GMT
Charles,
Thank you for kindly taking the time on this.
Following your lead, I used a PAGEREF to get the value needed in the formula
I was using. Since a simple bookmark was all that was needed on the last
page of the front matter, there was nothing left to hide.
(As it happens, there is an unvarying item on the last page of the front
matter which should be a reliable anchor for the bookmark; sounds easier than
getting my users to look after one at the end of the document.)
Thanks again to all who responded!
> I assume that you've reviewed
> http://word.mvps.org/FAQs/Numbering/PageNumbering.htm and
[quoted text clipped - 116 lines]
> >> >> >
> >> >> > Many thanks for your advice!...
macropod - 19 Oct 2005 00:24 GMT
Hi Dan,
What you are after is quite easy to achieve - simply create a bookmark with
nothing selected at the end of your 'frontpages' or, if your 'frontpages'
material is in a separate section, use a SET field to create your
'frontpages' bookmark:
{SET frontpages {SECTIONPAGES}}
and press F9 to update. Other than the bookmark bar, which is only visible
on-screen, there's nothing that needs to be hidden. Then you can use:
{ = {NUMPAGES } - {PAGEREF frontpages} }
for your page numbering.
Cheers
> Anne, Doug,
>
[quoted text clipped - 87 lines]
> > >> >
> > >> > Many thanks for your advice!...