Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Is there a field code for section break (next page)?
Is there a field code for section break (next page)?
|
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
extra page break(dotted line) before section page break | Microsoft Word Help | |||
How do I get a section break (not a page break) as part of a style | Microsoft Word Help | |||
How do I use field code SECTIONPAGES for a specific section? | Microsoft Word Help | |||
section break continuous turns into page break | Page Layout | |||
insert "Section Break-Next Page" but get "Section Break (Odd Page. | Page Layout |