Re: Mailmerge - Word 2000
- From: "Peter Jamieson" <pjj@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 May 2006 23:55:27 +0100
You can put carriage returns etc. inside the results of an IF, e.g.
{ IF x = y "line1
line2
line3" "" }
but you may find that there are clashes between the formatting within the IF
field and the formatting of the paragraph that contains the IF field.
If the IF field does not give you what you need, you can try another
approach, which is to use (a) separate document(s) to contain the necessary
text and formatting, and use INCLUDETEXT fields to include the necessary
document(s) or document chunks. If you need more info. on how to do that,
use Google groups to search this newsgroup for examples of INCLUDETEXT,
AUTOTEXT et. or ask again.
Peter Jamieson
"Sandra via OfficeKB.com" <u5657@uwe> wrote in message
news:60a6b95c238f3@xxxxxx
Hi Peter
Thank you so much for your help. One more thing regarding formatting.....
Paragraph 1, for example, has a main heading under which there are two
bulleted lists. Is it okay to carriage return after the heading and
insert
numbers bullets, tabs, coloured font, etc, in the IF fields? In other
words,
format as if it were a normal document?
Regards
Sandra
Peter Jamieson wrote:
Hi Sandra,
To clarify: do I insert the IF fields 20 times (including the
appropriate
paragraph wording) into the Main document?
Yes, it is tedious, but I think it is the simplest approach.
The reason I have used this layout
{ IF "{ MERGEFIELD para1 \*Upper }" = "Y" "para 1 text here" ""
}{ IF "{ MERGEFIELD para2 \*Upper }" = "Y" "para 2 text here" ""
}
is because it does not generate a new paragraph (or carriage return) when
the "IF" field evaluates as "false" or "no".
Also, where it says "para 1 text
here" "" do I insert my text "If you have contributed to ............"
""
retaining as many quotation marks?
Yes. If I said
{ IF "{ MERGEFIELD para1 \*Upper }" = "Y" "para 1 text here" ""
}
but you need to say
If you have contributed to ............
use
{ IF "{ MERGEFIELD para1 \*Upper }" = "Y" "If you have contributed to
............" ""
}
The second "" is the empty text that is inserted if { MERGEFIELD para1 }
is
not equal to "Y".
If your text contains double-quote characters, you may need to do a bit
more
than that.
I suggest you try doing your merge to a new document, whcih will allow you
to check your output without printing anything or sending any e-mails.
Peter Jamieson
[quoted text clipped - 37 lines]I can't think of any way to link the individual paragraphs to each
member's
Sandra
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-mailmerge/200605/1
.
- Follow-Ups:
- Re: Mailmerge - Word 2000
- From: sandralong2 via OfficeKB.com
- Re: Mailmerge - Word 2000
- References:
- Mailmerge - Word 2000
- From: Sandra via OfficeKB.com
- Re: Mailmerge - Word 2000
- From: Peter Jamieson
- Re: Mailmerge - Word 2000
- From: Sandra via OfficeKB.com
- Re: Mailmerge - Word 2000
- From: Peter Jamieson
- Re: Mailmerge - Word 2000
- From: Sandra via OfficeKB.com
- Mailmerge - Word 2000
- Prev by Date: Re: Mailmerge - Word 2000
- Next by Date: Re: Mailmerge - Word 2000
- Previous by thread: Re: Mailmerge - Word 2000
- Next by thread: Re: Mailmerge - Word 2000
- Index(es):
Relevant Pages
|
Loading