Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / February 2005

Tip: Looking for answers? Try searching our database.

Code to split pages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Carrick's Cat - 28 Feb 2005 15:03 GMT
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
Graham Mayor - 28 Feb 2005 15:31 GMT
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.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

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

> Sorry, couldn't think of a better title!
>
[quoted text clipped - 15 lines]
>
> CC

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.