Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Conditional Page Number?
I would like to create a field that does not appear if a document is only one
page, but does appear if there are 2 or more pages to a document. Further, I want to show ".../#" where # is the next page number, rather than the current page number. I can make .../# show up using the following: €¦/{ ={ PAGE } +1 } Is there any way I can stop it from appearing in my one-page document? Thanks in advance. |
#2
|
|||
|
|||
JD,
I am not sure I follow your train of thought precisely. Try {IF{Page} "1""./{ ={ PAGE } +1 }"""} -- Greg Maxey/Word MVP A Peer in Peer to Peer Support JD wrote: I would like to create a field that does not appear if a document is only one page, but does appear if there are 2 or more pages to a document. Further, I want to show ".../#" where # is the next page number, rather than the current page number. I can make .../# show up using the following: ./{ ={ PAGE } +1 } Is there any way I can stop it from appearing in my one-page document? Thanks in advance. |
#3
|
|||
|
|||
"Greg Maxey" wrote:
Try {IF{Page} "1""./{ ={ PAGE } +1 }"""} This worked! I did make one change; I made it: { IF { Numpages } "1" ".../{ = { PAGE } + 1}"""} Thanks very much Greg! |
#4
|
|||
|
|||
"JD" wrote:
"Greg Maxey" wrote: Try {IF{Page} "1""./{ ={ PAGE } +1 }"""} This worked! I did make one change; I made it: { IF { Numpages } "1" ".../{ = { PAGE } + 1}"""} After using this field, I realized that I didn't want this to appear on the last page of my document, after all, there isn't another page to go to. Using Different First Page Header and Footer, I put the above code in the first page footer, and the following code in the second page footer: {IF { COMPARE { PAGE } { NUMPAGES } } = 1 ".../{ = { PAGE } + 1 }" "" } Posted in case anyone else needs to do the same thing, JD. |
#5
|
|||
|
|||
A simpler method is to use section breaks and different headers/footers.
"JD" wrote in message ... "JD" wrote: "Greg Maxey" wrote: Try {IF{Page} "1""./{ ={ PAGE } +1 }"""} This worked! I did make one change; I made it: { IF { Numpages } "1" ".../{ = { PAGE } + 1}"""} After using this field, I realized that I didn't want this to appear on the last page of my document, after all, there isn't another page to go to. Using Different First Page Header and Footer, I put the above code in the first page footer, and the following code in the second page footer: {IF { COMPARE { PAGE } { NUMPAGES } } = 1 ".../{ = { PAGE } + 1 }" "" } Posted in case anyone else needs to do the same thing, JD. |
#6
|
|||
|
|||
It would be simple if I was the only person using this document, but this is
a template for a number of other users, and I don't want the user to be worrying about this type of formatting when they are preparing routine correspondence. Right now, they are manually inserting this page numbering. The document numbering looks like this: Header: Letterhead Page 2 Page 3 Footer: ..../2 .../3 "Jezebel" wrote: A simpler method is to use section breaks and different headers/footers. "JD" wrote in message ... "JD" wrote: "Greg Maxey" wrote: Try {IF{Page} "1""./{ ={ PAGE } +1 }"""} This worked! I did make one change; I made it: { IF { Numpages } "1" ".../{ = { PAGE } + 1}"""} After using this field, I realized that I didn't want this to appear on the last page of my document, after all, there isn't another page to go to. Using Different First Page Header and Footer, I put the above code in the first page footer, and the following code in the second page footer: {IF { COMPARE { PAGE } { NUMPAGES } } = 1 ".../{ = { PAGE } + 1 }" "" } Posted in case anyone else needs to do the same thing, JD. |
#7
|
|||
|
|||
Use a different header for the first page.
"JD" wrote in message ... I would like to create a field that does not appear if a document is only one page, but does appear if there are 2 or more pages to a document. Further, I want to show ".../#" where # is the next page number, rather than the current page number. I can make .../# show up using the following: ./{ ={ PAGE } +1 } Is there any way I can stop it from appearing in my one-page document? Thanks in advance. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to remove page number in part of a document? | Microsoft Word Help | |||
Word 2003 printing {PAGE} instead of page numbers | Microsoft Word Help | |||
Problem with Page Numbers in Index using Word 2002 | Microsoft Word Help | |||
Srange paging behavior due to image size | Microsoft Word Help | |||
How to insert Page No of No of "Section" Pages | Microsoft Word Help |