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 / July 2008

Tip: Looking for answers? Try searching our database.

Is there a field code for section break (next page)?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nph12 - 23 Jul 2008 18:31 GMT
Is there a field code for section break (next page)?
Peter Jamieson - 23 Jul 2008 19:44 GMT
No, but if you want to include one conditionally, you can put one inside the
result of an if field, e.g.

{ IF { MERGEFIELD x } = "Y" "<put a page break character here" }

Signature

Peter Jamieson
http://tips.pjmsn.me.uk

> Is there a field code for section break (next page)?
macropod - 23 Jul 2008 22:27 GMT
Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}

Signature

Cheers
macropod
[MVP - Microsoft Word]

> No, but if you want to include one conditionally, you can put one inside the
> result of an if field, e.g.
>
> { IF { MERGEFIELD x } = "Y" "<put a page break character here" }
>
>> Is there a field code for section break (next page)?
nph12 - 25 Jul 2008 09:50 GMT
What should {QUOTE 12} do? Is there not a field code for section break? What
about ^b, ^m or ^12?

> Or you could use:
> {IF{ MERGEFIELD x}= "Y" {QUOTE 12}}
[quoted text clipped - 5 lines]
> >
> >> Is there a field code for section break (next page)?
Peter Jamieson - 25 Jul 2008 10:36 GMT
Unfortunately I have probably confused things by saying "page break" rather
than "section break". AFAIK { QUOTE 12 } inserts a page break, although
macropod may know otherwise.

> Is there not a field code for section break

There isn't  a /specialised/ field code for a section break, no. I think the
nearest you will get is to do something like

{ SET sb "<insert a section break here>" }

and use

{ REF sb }

to insert it. beware, because section breaks have a habit of turning into
"Next Page Sectionbreaks" when you do this, even when what you insert is
another type of break.

FWIW { QUOTE aa bb cc } inserts the characters corresponding to aa, bb, cc

e.g. if the font is set to Arial Unicode MS, then

{ QUOTE 65 66 67 0x2780 }

inserts ABC followed by a circled 1.

Signature

Peter Jamieson
http://tips.pjmsn.me.uk

> What should {QUOTE 12} do? Is there not a field code for section break?
> What
[quoted text clipped - 10 lines]
>> >
>> >> Is there a field code for section break (next page)?
nph12 - 25 Jul 2008 13:56 GMT
Is it possible to add a section break (next page) by using VBA?

> Unfortunately I have probably confused things by saying "page break" rather
> than "section break". AFAIK { QUOTE 12 } inserts a page break, although
[quoted text clipped - 37 lines]
> >> >
> >> >> Is there a field code for section break (next page)?
macropod - 25 Jul 2008 14:32 GMT
Hi nph12,

{QUOTE 12} inserts a page break. I don't know of a field code that inserts a Section break. Is there a particular reason a page
break won't suffice?

And yes, it is possible to insert Section breaks with vba. However, that requires a rather different approach to the whole of the
mailmerge operation than using field coding alone.

Signature

Cheers
macropod
[MVP - Microsoft Word]

> Is it possible to add a section break (next page) by using VBA?
>
[quoted text clipped - 39 lines]
>> >> >
>> >> >> Is there a field code for section break (next page)?
 
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.