Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
FJM FJM is offline
external usenet poster
 
Posts: 2
Default footer - IF condition

I am using Word 2003
I have a 10 page document which starts a footer at page 2 (the front page is
a "cover" page only
I want the footer on page 2 to read as follows
Page 2 (The next page is 3)
I then want to continue with this format i.e
Page 3 will read
Page 3 (The next page is 4)
I want this to continue until I reach page 10 where I want it to read
Page 10 (End )

This is so if I have to add any documents then I can still maintain
integrity and succesion without having to reprint the whole of the document

The first part Page 2 etc I am OK with.
It is the second part where I am increasing the page number by 1 and
forcing the text on the last page to alter where I have a problem
I have looked at some of the help and have tried several times to use
advanced field properties to include the following IF statement to make the
second part work
If PAGE NumPages "Page Number is {PAGE}+1" "End"
I cannot get any combination of these characters to work
Can anyone help with what is probably a very simple piece of code
Thank you for any replies
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default footer - IF condition

You'll need the following field construct:

{IF { PAGE } { NUMPAGES } "The next page is { = { PAGE } + 1 }" "End" }

Note that each pair of field delimiters, { }, must be inserted by pressing
Ctrl+F9.

To update the fields in the selection, press F9 (or switch to Print Preview
and back). To show/hide all field codes in the document, use Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"FJM" wrote in message
...
I am using Word 2003
I have a 10 page document which starts a footer at page 2 (the front page
is
a "cover" page only
I want the footer on page 2 to read as follows
Page 2 (The next page is 3)
I then want to continue with this format i.e
Page 3 will read
Page 3 (The next page is 4)
I want this to continue until I reach page 10 where I want it to read
Page 10 (End )

This is so if I have to add any documents then I can still maintain
integrity and succesion without having to reprint the whole of the
document

The first part Page 2 etc I am OK with.
It is the second part where I am increasing the page number by 1 and
forcing the text on the last page to alter where I have a problem
I have looked at some of the help and have tried several times to use
advanced field properties to include the following IF statement to make
the
second part work
If PAGE NumPages "Page Number is {PAGE}+1" "End"
I cannot get any combination of these characters to work
Can anyone help with what is probably a very simple piece of code
Thank you for any replies



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default footer - IF condition

You'll need the following field construct:

{IF { PAGE } { NUMPAGES } "The next page is { = { PAGE } + 1 }" "End" }

Note that each pair of field delimiters, { }, must be inserted by pressing
Ctrl+F9.

To update the fields in the selection, press F9 (or switch to Print Preview
and back). To show/hide all field codes in the document, use Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"FJM" wrote in message
...
I am using Word 2003
I have a 10 page document which starts a footer at page 2 (the front page
is
a "cover" page only
I want the footer on page 2 to read as follows
Page 2 (The next page is 3)
I then want to continue with this format i.e
Page 3 will read
Page 3 (The next page is 4)
I want this to continue until I reach page 10 where I want it to read
Page 10 (End )

This is so if I have to add any documents then I can still maintain
integrity and succesion without having to reprint the whole of the
document

The first part Page 2 etc I am OK with.
It is the second part where I am increasing the page number by 1 and
forcing the text on the last page to alter where I have a problem
I have looked at some of the help and have tried several times to use
advanced field properties to include the following IF statement to make
the
second part work
If PAGE NumPages "Page Number is {PAGE}+1" "End"
I cannot get any combination of these characters to work
Can anyone help with what is probably a very simple piece of code
Thank you for any replies



  #4   Report Post  
Posted to microsoft.public.word.pagelayout
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default footer - IF condition

Some other ways:
{={NUMPAGES}-{PAGE} \# "'The next page is '{={PAGE}+1};;End"}
or
{=({NUMPAGES}{PAGE})*({PAGE}+1) \# "'The next page is '0;;End"}


--
Cheers
macropod
[Microsoft MVP - Word]


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

{IF { PAGE } { NUMPAGES } "The next page is { = { PAGE } + 1 }" "End" }

Note that each pair of field delimiters, { }, must be inserted by pressing
Ctrl+F9.

To update the fields in the selection, press F9 (or switch to Print Preview
and back). To show/hide all field codes in the document, use Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"FJM" wrote in message
...
I am using Word 2003
I have a 10 page document which starts a footer at page 2 (the front page
is
a "cover" page only
I want the footer on page 2 to read as follows
Page 2 (The next page is 3)
I then want to continue with this format i.e
Page 3 will read
Page 3 (The next page is 4)
I want this to continue until I reach page 10 where I want it to read
Page 10 (End )

This is so if I have to add any documents then I can still maintain
integrity and succesion without having to reprint the whole of the
document

The first part Page 2 etc I am OK with.
It is the second part where I am increasing the page number by 1 and
forcing the text on the last page to alter where I have a problem
I have looked at some of the help and have tried several times to use
advanced field properties to include the following IF statement to make
the
second part work
If PAGE NumPages "Page Number is {PAGE}+1" "End"
I cannot get any combination of these characters to work
Can anyone help with what is probably a very simple piece of code
Thank you for any replies



  #5   Report Post  
Posted to microsoft.public.word.pagelayout
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default footer - IF condition

Some other ways:
{={NUMPAGES}-{PAGE} \# "'The next page is '{={PAGE}+1};;End"}
or
{=({NUMPAGES}{PAGE})*({PAGE}+1) \# "'The next page is '0;;End"}


--
Cheers
macropod
[Microsoft MVP - Word]


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

{IF { PAGE } { NUMPAGES } "The next page is { = { PAGE } + 1 }" "End" }

Note that each pair of field delimiters, { }, must be inserted by pressing
Ctrl+F9.

To update the fields in the selection, press F9 (or switch to Print Preview
and back). To show/hide all field codes in the document, use Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"FJM" wrote in message
...
I am using Word 2003
I have a 10 page document which starts a footer at page 2 (the front page
is
a "cover" page only
I want the footer on page 2 to read as follows
Page 2 (The next page is 3)
I then want to continue with this format i.e
Page 3 will read
Page 3 (The next page is 4)
I want this to continue until I reach page 10 where I want it to read
Page 10 (End )

This is so if I have to add any documents then I can still maintain
integrity and succesion without having to reprint the whole of the
document

The first part Page 2 etc I am OK with.
It is the second part where I am increasing the page number by 1 and
forcing the text on the last page to alter where I have a problem
I have looked at some of the help and have tried several times to use
advanced field properties to include the following IF statement to make
the
second part work
If PAGE NumPages "Page Number is {PAGE}+1" "End"
I cannot get any combination of these characters to work
Can anyone help with what is probably a very simple piece of code
Thank you for any replies





  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default footer - IF condition

I bow in honor of the master of field codes. :-)

--
Stefan Blom
Microsoft Word MVP



"macropod" wrote in message
...
Some other ways:
{={NUMPAGES}-{PAGE} \# "'The next page is '{={PAGE}+1};;End"}
or
{=({NUMPAGES}{PAGE})*({PAGE}+1) \# "'The next page is '0;;End"}


--
Cheers
macropod
[Microsoft MVP - Word]


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

{IF { PAGE } { NUMPAGES } "The next page is { = { PAGE } + 1 }" "End" }

Note that each pair of field delimiters, { }, must be inserted by
pressing Ctrl+F9.

To update the fields in the selection, press F9 (or switch to Print
Preview and back). To show/hide all field codes in the document, use
Alt+F9.

--
Stefan Blom
Microsoft Word MVP



"FJM" wrote in message
...
I am using Word 2003
I have a 10 page document which starts a footer at page 2 (the front
page is
a "cover" page only
I want the footer on page 2 to read as follows
Page 2 (The next page is 3)
I then want to continue with this format i.e
Page 3 will read
Page 3 (The next page is 4)
I want this to continue until I reach page 10 where I want it to read
Page 10 (End )

This is so if I have to add any documents then I can still maintain
integrity and succesion without having to reprint the whole of the
document

The first part Page 2 etc I am OK with.
It is the second part where I am increasing the page number by 1 and
forcing the text on the last page to alter where I have a problem
I have looked at some of the help and have tried several times to use
advanced field properties to include the following IF statement to make
the
second part work
If PAGE NumPages "Page Number is {PAGE}+1" "End"
I cannot get any combination of these characters to work
Can anyone help with what is probably a very simple piece of code
Thank you for any replies




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
MERGEFIELD on Condition omsoft Mailmerge 11 February 18th 09 07:55 PM
Skip Page Two Under Certain Condition tseskc Mailmerge 2 October 20th 06 05:21 PM
IF Condition Question Trudy Mailmerge 3 June 14th 06 02:45 PM
Multiple IF condition Susan Mailmerge 2 February 14th 06 07:26 AM
IF Condition for XML Tags Steve Microsoft Word Help 1 January 26th 05 09:36 AM


All times are GMT +1. The time now is 11:21 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"