Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I am trying to make a mail merge letter that looks at a specified mergefield
and returns specified text based on the field. For example: If field code is "lead" then test is "thank you for interest" If field code is "prospect" then text is "thank you for your application" If field code is "client" then text is "thank you for business" Is something like this possible |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
{ IF "{ MERGEFIELD myfield }" = "lead" "thank you for (your) interest"
"{ IF "{ MERGEFIELD myfield }" = "prospect" "thank you for your application" "thank you for (your) business" }" } All the {} must be the special field codes you can insert using ctrl-F9. Peter Jamieson "jermsalerms79" wrote in message news ![]() I am trying to make a mail merge letter that looks at a specified mergefield and returns specified text based on the field. For example: If field code is "lead" then test is "thank you for interest" If field code is "prospect" then text is "thank you for your application" If field code is "client" then text is "thank you for business" Is something like this possible |
#3
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
{ IF "{ MERGEFIELD type }" = "lead" "Thank you for your interest." "" }
Look up IF field in help. The braces cannot be typed in. You have to use Ctrl-F9 or Insert 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://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- 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. "jermsalerms79" wrote in message news ![]() I am trying to make a mail merge letter that looks at a specified mergefield and returns specified text based on the field. For example: If field code is "lead" then test is "thank you for interest" If field code is "prospect" then text is "thank you for your application" If field code is "client" then text is "thank you for business" Is something like this possible |
#4
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
What about doing this with idea with and entire letter. Anotherwords, if
"lead" then the letter (2 - 3 paragraphs and maybe even a table will return. and if "prospect" then different paragraphs will return with a different table. Is this possible? "Charles Kenyon" wrote: { IF "{ MERGEFIELD type }" = "lead" "Thank you for your interest." "" } Look up IF field in help. The braces cannot be typed in. You have to use Ctrl-F9 or Insert 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://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- 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. "jermsalerms79" wrote in message news ![]() I am trying to make a mail merge letter that looks at a specified mergefield and returns specified text based on the field. For example: If field code is "lead" then test is "thank you for interest" If field code is "prospect" then text is "thank you for your application" If field code is "client" then text is "thank you for business" Is something like this possible |
#5
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Yes, although I would start storing alternatives as AutoText and using
AutoText fields. -- 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://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- 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. "jermsalerms79" wrote in message ... What about doing this with idea with and entire letter. Anotherwords, if "lead" then the letter (2 - 3 paragraphs and maybe even a table will return. and if "prospect" then different paragraphs will return with a different table. Is this possible? "Charles Kenyon" wrote: { IF "{ MERGEFIELD type }" = "lead" "Thank you for your interest." "" } Look up IF field in help. The braces cannot be typed in. You have to use Ctrl-F9 or Insert 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://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- 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. "jermsalerms79" wrote in message news ![]() I am trying to make a mail merge letter that looks at a specified mergefield and returns specified text based on the field. For example: If field code is "lead" then test is "thank you for interest" If field code is "prospect" then text is "thank you for your application" If field code is "client" then text is "thank you for business" Is something like this possible |
#6
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Ok...looks like I have some learning to do here. I will try to figure that out
"Charles Kenyon" wrote: Yes, although I would start storing alternatives as AutoText and using AutoText fields. -- 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://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- 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. "jermsalerms79" wrote in message ... What about doing this with idea with and entire letter. Anotherwords, if "lead" then the letter (2 - 3 paragraphs and maybe even a table will return. and if "prospect" then different paragraphs will return with a different table. Is this possible? "Charles Kenyon" wrote: { IF "{ MERGEFIELD type }" = "lead" "Thank you for your interest." "" } Look up IF field in help. The braces cannot be typed in. You have to use Ctrl-F9 or Insert 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://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- 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. "jermsalerms79" wrote in message news ![]() mergefield and returns specified text based on the field. For example: If field code is "lead" then test is "thank you for interest" If field code is "prospect" then text is "thank you for your application" If field code is "client" then text is "thank you for business" Is something like this possible |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Word 2003 Field code within a field code | Mailmerge | |||
Formatting merge fields: inserting a paragraph mark before a field | Mailmerge | |||
How do I replace 1 character with another in field code results? | Microsoft Word Help | |||
field code: lastsavedby | Microsoft Word Help | |||
How do I use the PRINT field code to ... | Microsoft Word Help |