Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Code to split pages
Sorry, couldn't think of a better title!
I finally found out (thanks to the newsgroup here), how to set up a mail merge to pick and choose different paragraphs (using the AutoText merge field method). However, I've run into a small problem: some combinations of paragraphs are one page long, some two. I need a code for the page numbers, i.e., page X of Y. I can't have page 1 of 2, for instance, if it is only 1 page long (client is completely anal aboot these things). It might just be an Oscar-impaired, Monday morning, snow storm coming brain lock, but nothing is coming to mind. Windows 2000, Excel and Word 97 SR-2. Thanks in advance. CC |
#2
|
|||
|
|||
What do you want to display if there's only one page?
{ IF { SECTIONPAGES } 1 "Page { PAGE } of { SECTIONPAGES }" } will only print the page number if there is more than one page Page { PAGE }{ IF { SECTIONPAGES } 1 " of { SECTIONPAGES }" } will print Page 1 on a one page document and Page x of y on a two or more page document. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Carrick's Cat wrote: Sorry, couldn't think of a better title! I finally found out (thanks to the newsgroup here), how to set up a mail merge to pick and choose different paragraphs (using the AutoText merge field method). However, I've run into a small problem: some combinations of paragraphs are one page long, some two. I need a code for the page numbers, i.e., page X of Y. I can't have page 1 of 2, for instance, if it is only 1 page long (client is completely anal aboot these things). It might just be an Oscar-impaired, Monday morning, snow storm coming brain lock, but nothing is coming to mind. Windows 2000, Excel and Word 97 SR-2. Thanks in advance. CC |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Page Numbering - Insertion Pages | Microsoft Word Help | |||
Printing Page Ranges with page numbers i-iv then 1-23 for 27 total | Page Layout | |||
Number of pages excluding content pages | Microsoft Word Help | |||
How do I rearrange pages within a document? | Microsoft Word Help | |||
Printing single pages or a range of pages | Mailmerge |