Reply
 
Thread Tools Display Modes
  #1   Report Post  
Carrick's Cat
 
Posts: n/a
Default 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   Report Post  
Graham Mayor
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Numbering - Insertion Pages Greg Pearson Microsoft Word Help 4 February 14th 05 05:53 PM
Printing Page Ranges with page numbers i-iv then 1-23 for 27 total Scott Page Layout 2 February 9th 05 02:49 AM
Number of pages excluding content pages Number of pages excluding content pages Microsoft Word Help 4 January 11th 05 02:21 PM
How do I rearrange pages within a document? initbennetts Microsoft Word Help 1 December 21st 04 01:15 AM
Printing single pages or a range of pages Craig Mailmerge 1 December 13th 04 01:51 AM


All times are GMT +1. The time now is 01:20 AM.

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"