From: FJM on 22 Mar 2010 15:55 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
From: Stefan Blom on 22 Mar 2010 16:12 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" <FJM(a)discussions.microsoft.com> wrote in message news:EFBD2D9F-416B-4D72-8DD2-FF5A1DE3B9D3(a)microsoft.com... >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
From: macropod on 22 Mar 2010 19:02 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" <StefanBlom(a)discussions.microsoft.com> wrote in message news:OAELEufyKHA.4492(a)TK2MSFTNGP05.phx.gbl... > 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" <FJM(a)discussions.microsoft.com> wrote in message > news:EFBD2D9F-416B-4D72-8DD2-FF5A1DE3B9D3(a)microsoft.com... >>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 > >
|
Pages: 1 Prev: Quick Part page layouts Next: To write living will do I need special format |