Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007

I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default numpage field - Word 2007

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default numpage field - Word 2007

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default numpage field - Word 2007

Shouldn't that be { = { NUMPAGES } - 2 }?

However the reference to showing the result as a word with initial caps
suggests a little more is required

{ IF { Numpages } 1 "{ =({ Numpages } - 2) \*cardtext \*caps}" }

If the construction is use without the condition, a one page document would
produce a negative value which would error out when used with the cardtext
switch.
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Stefan Blom" wrote in message
...
You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add
the outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which
is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.





  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default numpage field - Word 2007

Shouldn't that be { = { NUMPAGES } - 2 }?

However the reference to showing the result as a word with initial caps
suggests a little more is required

{ IF { Numpages } 1 "{ =({ Numpages } - 2) \*cardtext \*caps}" }

If the construction is use without the condition, a one page document would
produce a negative value which would error out when used with the cardtext
switch.
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Stefan Blom" wrote in message
...
You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add
the outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which
is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.







  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default numpage field - Word 2007

Of course, - 2 would be required!

As for the rest, I got the impression that the OP had already figured it
out?

--
Stefan Blom
Microsoft Word MVP



"Graham Mayor" wrote in message
...
Shouldn't that be { = { NUMPAGES } - 2 }?

However the reference to showing the result as a word with initial caps
suggests a little more is required

{ IF { Numpages } 1 "{ =({ Numpages } - 2) \*cardtext \*caps}" }

If the construction is use without the condition, a one page document
would produce a negative value which would error out when used with the
cardtext switch.
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Stefan Blom" wrote in message
...
You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add
the outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to
insert each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which
is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.







  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default numpage field - Word 2007

Of course, - 2 would be required!

As for the rest, I got the impression that the OP had already figured it
out?

--
Stefan Blom
Microsoft Word MVP



"Graham Mayor" wrote in message
...
Shouldn't that be { = { NUMPAGES } - 2 }?

However the reference to showing the result as a word with initial caps
suggests a little more is required

{ IF { Numpages } 1 "{ =({ Numpages } - 2) \*cardtext \*caps}" }

If the construction is use without the condition, a one page document
would produce a negative value which would error out when used with the
cardtext switch.
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Stefan Blom" wrote in message
...
You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add
the outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to
insert each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which
is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.







  #8   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default numpage field - Word 2007

Provided the document has at least two pages, you could use:

{={NUMPAGES}-2 \# "0;;" \* cardtext \* caps}

However, I'd be inclined to insert a 'Next Page' Section break between pages 2 & 3, unlink the Section 2 footer and use a 'page X of
Y' scheme based on starting the X page numbering at 1 on page 3 and basing the Y page numbering on a SECTIONPAGES field. This works
much better with TOCS, PAGEREF fields, etc.


--
Cheers
macropod
[Microsoft MVP - Word]


"Graham Mayor" wrote in message ...
Shouldn't that be { = { NUMPAGES } - 2 }?

However the reference to showing the result as a word with initial caps suggests a little more is required

{ IF { Numpages } 1 "{ =({ Numpages } - 2) \*cardtext \*caps}" }

If the construction is use without the condition, a one page document would produce a negative value which would error out when
used with the cardtext switch.
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Stefan Blom" wrote in message ...
You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the equal sign and - 1, select the whole construct and
press Ctrl+F9 to add the outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message ...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.






  #9   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default numpage field - Word 2007

Provided the document has at least two pages, you could use:

{={NUMPAGES}-2 \# "0;;" \* cardtext \* caps}

However, I'd be inclined to insert a 'Next Page' Section break between pages 2 & 3, unlink the Section 2 footer and use a 'page X of
Y' scheme based on starting the X page numbering at 1 on page 3 and basing the Y page numbering on a SECTIONPAGES field. This works
much better with TOCS, PAGEREF fields, etc.


--
Cheers
macropod
[Microsoft MVP - Word]


"Graham Mayor" wrote in message ...
Shouldn't that be { = { NUMPAGES } - 2 }?

However the reference to showing the result as a word with initial caps suggests a little more is required

{ IF { Numpages } 1 "{ =({ Numpages } - 2) \*cardtext \*caps}" }

If the construction is use without the condition, a one page document would produce a negative value which would error out when
used with the cardtext switch.
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Stefan Blom" wrote in message ...
You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the equal sign and - 1, select the whole construct and
press Ctrl+F9 to add the outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message ...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.






  #10   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the outer
field delimiters etc as you showed, I get an error message saying !Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it works
perfectly but shows the number as a number. Your further assistance would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.



.



  #11   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007


Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the outer
field delimiters etc as you showed, I get an error message saying !Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it works
perfectly but shows the number as a number. Your further assistance would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.



.

  #12   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007

Stefan, Graham and macropod, many thanks for your responses. I didn't see
them before I posted my reply to Stefan. I suspect the answer to my problem
is somewhere within your replies and I'll let you know how I get on.

Many thanks.

"jem_01354" wrote:

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the outer
field delimiters etc as you showed, I get an error message saying !Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it works
perfectly but shows the number as a number. Your further assistance would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.



.

  #13   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007

Stefan, Graham and macropod, many thanks for your responses. I didn't see
them before I posted my reply to Stefan. I suspect the answer to my problem
is somewhere within your replies and I'll let you know how I get on.

Many thanks.

"jem_01354" wrote:

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the outer
field delimiters etc as you showed, I get an error message saying !Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it works
perfectly but shows the number as a number. Your further assistance would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.



.

  #14   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default numpage field - Word 2007

Go with macropod's suggestion if you want to create automatic tables of
contents or cross-references (that show the correct numbers); if you don't
need that, make use of Graham's field construct. :-)

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
Stefan, Graham and macropod, many thanks for your responses. I didn't see
them before I posted my reply to Stefan. I suspect the answer to my
problem
is somewhere within your replies and I'll let you know how I get on.

Many thanks.

"jem_01354" wrote:

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the
outer
field delimiters etc as you showed, I get an error message saying
!Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it
works
perfectly but shows the number as a number. Your further assistance
would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in
the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add
the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to
insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital,
which is
what I want, but I don't know how to deduct 2 from the total number
of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.


.



  #15   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default numpage field - Word 2007

Go with macropod's suggestion if you want to create automatic tables of
contents or cross-references (that show the correct numbers); if you don't
need that, make use of Graham's field construct. :-)

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
Stefan, Graham and macropod, many thanks for your responses. I didn't see
them before I posted my reply to Stefan. I suspect the answer to my
problem
is somewhere within your replies and I'll let you know how I get on.

Many thanks.

"jem_01354" wrote:

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the
outer
field delimiters etc as you showed, I get an error message saying
!Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it
works
perfectly but shows the number as a number. Your further assistance
would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in
the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add
the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to
insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital,
which is
what I want, but I don't know how to deduct 2 from the total number
of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.


.





  #16   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007

Brilliant, thank you all! I used this code: {={NUMPAGES}-2 \#"0;;"
\*CardText \*FirstCap} and it does exactly what I wanted. Many thanks!!

"jem_01354" wrote:

Stefan, Graham and macropod, many thanks for your responses. I didn't see
them before I posted my reply to Stefan. I suspect the answer to my problem
is somewhere within your replies and I'll let you know how I get on.

Many thanks.

"jem_01354" wrote:

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the outer
field delimiters etc as you showed, I get an error message saying !Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it works
perfectly but shows the number as a number. Your further assistance would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.


.

  #17   Report Post  
Posted to microsoft.public.word.docmanagement
jem_01354 jem_01354 is offline
external usenet poster
 
Posts: 13
Default numpage field - Word 2007

Brilliant, thank you all! I used this code: {={NUMPAGES}-2 \#"0;;"
\*CardText \*FirstCap} and it does exactly what I wanted. Many thanks!!

"jem_01354" wrote:

Stefan, Graham and macropod, many thanks for your responses. I didn't see
them before I posted my reply to Stefan. I suspect the answer to my problem
is somewhere within your replies and I'll let you know how I get on.

Many thanks.

"jem_01354" wrote:

Thanks, Stefan, that's brilliant, but I need a bit more help, please.
Originally I had it showing the number as Four (i.e. the word, with an
initial capital), which is what I want. The code for this showed as {
NUMPAGES \* CardText \* FirstCap \* MERGEFORMAT } but when I add the outer
field delimiters etc as you showed, I get an error message saying !Undefined
Bookmark, FOUR. If I take out the CardText and FirstCap switches, it works
perfectly but shows the number as a number. Your further assistance would be
greatly appreciated.

Many thanks.

"Stefan Blom" wrote:

You'll need the following field construct:

{ = { NUMPAGES } - 1 }

Since you have already inserted the NUMPAGES field, you could type in the
equal sign and - 1, select the whole construct and press Ctrl+F9 to add the
outer field delimiters, { }.

Alternatively, just type in the code, carefully pressing Ctrl+F9 to insert
each pair of field delimiters.

To update the selected fields, press F9. To show/hide field codes, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"jem_01354" wrote in message
...
I need to have the number of pages (minus 2) within a document. I've
discovered how to have it show as a word with an initial capital, which is
what I want, but I don't know how to deduct 2 from the total number of
pages.
Is it possible to do that and, if so, please tell me how?

Many thanks.


.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2007/Excell 2007 - random loss of field contents on mailmerge John Mailmerge 4 February 20th 09 09:53 PM
format field percentage merge Word 2007 from excel 2007 LoisInAlaska Mailmerge 3 September 15th 08 06:47 PM
Word 2007 IF field bs2442 Microsoft Word Help 1 August 22nd 08 07:35 PM
Word 2007 Field Sizes? Diane Mailmerge 1 October 28th 07 10:15 AM
Word 2007 and RD field Mark[_2_] Formatting Long Documents 1 March 17th 07 05:50 PM


All times are GMT +1. The time now is 11:44 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"