Reply
 
Thread Tools Display Modes
  #1   Report Post  
 
Posts: n/a
Default adding a page break as a result of an IF statement

I have searched and searched -- not finding my answer.

Maybe someone here can help!

During a merge, I need to do a page break if a certain condition is
true. What code do I enter to get a page break?

I then also wondered if it was possible to call a VBA subroutine in the
middle of a merge as a result of an IF condition...?

-Chris R


  #2   Report Post  
Charles Kenyon
 
Posts: n/a
Default

To clarify, do you need a manual page break (generally undesirable) or do
you need text on a new page. If the former, pressing Ctrl-Enter produces a
page break and I don't know if this works within an IF field but have no
reason to think it will not. Paragraph marks work (sort of) within IF
fields.

If you need text on a new page, format that text using paragraph formatting
of page break before and include that formatted text within your IF field.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

wrote in message
ups.com...
I have searched and searched -- not finding my answer.

Maybe someone here can help!

During a merge, I need to do a page break if a certain condition is
true. What code do I enter to get a page break?

I then also wondered if it was possible to call a VBA subroutine in the
middle of a merge as a result of an IF condition...?

-Chris R




  #3   Report Post  
 
Posts: n/a
Default

Yes, I want a manual page break. The problem is this: I am producing
labels for kids at several schools via a mail merge. The data source
has all the kids lumped together. If I do a straight mailmerge, I get
School B's labels beginning to print in the middle of the page where
School A's labels ended.

I tried putting a Ctrl-Enter in the merge field, that didn't work.

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
Retaining Section Break at the Bottom of Page 1 Diane M Formatting Long Documents 3 January 14th 05 08:16 PM
Odd page section break Jenny Page Layout 5 December 15th 04 08:05 AM
FIrst page footers Noel S Pamfree Microsoft Word Help 7 December 6th 04 08:49 PM
Insert objects at page breaks DRS - Jonathan Microsoft Word Help 4 November 29th 04 07:16 PM
Finding/removing an "obascure" manual page break Fred Holmes Tables 2 November 5th 04 06:57 PM


All times are GMT +1. The time now is 12:41 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"