Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
nph12 nph12 is offline
external usenet poster
 
Posts: 5
Default Is there a field code for section break (next page)?

Is there a field code for section break (next page)?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Is there a field code for section break (next page)?

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" }

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

"nph12" wrote in message
...
Is there a field code for section break (next page)?


  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Is there a field code for section break (next page)?

Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}

--
Cheers
macropod
[MVP - Microsoft Word]


"Peter Jamieson" wrote in message ...
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" }

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

"nph12" wrote in message
...
Is there a field code for section break (next page)?


  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
nph12 nph12 is offline
external usenet poster
 
Posts: 5
Default Is there a field code for section break (next page)?

What should {QUOTE 12} do? Is there not a field code for section break? What
about ^b, ^m or ^12?

"macropod" wrote:

Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}

--
Cheers
macropod
[MVP - Microsoft Word]


"Peter Jamieson" wrote in message ...
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" }

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

"nph12" wrote in message
...
Is there a field code for section break (next page)?



  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Is there a field code for section break (next page)?

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.


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

"nph12" wrote in message
...
What should {QUOTE 12} do? Is there not a field code for section break?
What
about ^b, ^m or ^12?

"macropod" wrote:

Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}

--
Cheers
macropod
[MVP - Microsoft Word]


"Peter Jamieson" wrote in message
...
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" }

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

"nph12" wrote in message
...
Is there a field code for section break (next page)?





  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
nph12 nph12 is offline
external usenet poster
 
Posts: 5
Default Is there a field code for section break (next page)?

Is it possible to add a section break (next page) by using VBA?

"Peter Jamieson" wrote:

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.


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

"nph12" wrote in message
...
What should {QUOTE 12} do? Is there not a field code for section break?
What
about ^b, ^m or ^12?

"macropod" wrote:

Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}

--
Cheers
macropod
[MVP - Microsoft Word]


"Peter Jamieson" wrote in message
...
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" }

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

"nph12" wrote in message
...
Is there a field code for section break (next page)?




  #7   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Is there a field code for section break (next page)?

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.

--
Cheers
macropod
[MVP - Microsoft Word]


"nph12" wrote in message ...
Is it possible to add a section break (next page) by using VBA?

"Peter Jamieson" wrote:

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.


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

"nph12" wrote in message
...
What should {QUOTE 12} do? Is there not a field code for section break?
What
about ^b, ^m or ^12?

"macropod" wrote:

Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}

--
Cheers
macropod
[MVP - Microsoft Word]


"Peter Jamieson" wrote in message
...
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" }

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

"nph12" wrote in message
...
Is there a field code for section break (next page)?





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
extra page break(dotted line) before section page break wormrbook Microsoft Word Help 1 July 16th 08 11:20 PM
How do I get a section break (not a page break) as part of a style PJ2943 Microsoft Word Help 1 September 5th 07 10:43 AM
How do I use field code SECTIONPAGES for a specific section? Dave Microsoft Word Help 4 November 1st 06 05:31 PM
section break continuous turns into page break Morgan Page Layout 4 February 24th 05 07:55 PM
insert "Section Break-Next Page" but get "Section Break (Odd Page. PsyGuy Page Layout 2 December 22nd 04 08:27 PM


All times are GMT +1. The time now is 04:47 PM.

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"