Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I am such a rookie at this, it is against the laws of nature...
I have a letter to 200 agencies. There are nine possible boilerplate paragraphs that an agency will get a combination of. I have been playing with an external file with the paragraphs given "bookmarks." When I put the text into the bookmark dialogue box, I cannot control any simple formatting like BOLD or UNDERLINE. I need the code to do the following: If mergefield "computers" is not blank then INCLUDETEXT associated with bookmark "computers." Keep the formatting for the "computers" paragraph. If mergefield "computers" is blank - do nothing. If mergefield "environment" is not blank then INCLUDETEXT associated with bookmark "environment." Keep the formatting for the "environment" paragraph. If mergefield "environment" is blank - do nothing. etc. etc. The letter may have two of these paragraphs, all nine paragraphs or no paragraphs or blank spaces. Can someone get me started? -- Thanks You all are teaching me so much |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Thanks for reading my post - I figured it out by combining a number of other
posts. -- Thanks You all are teaching me so much "knowshowrosegrows" wrote: I am such a rookie at this, it is against the laws of nature... I have a letter to 200 agencies. There are nine possible boilerplate paragraphs that an agency will get a combination of. I have been playing with an external file with the paragraphs given "bookmarks." When I put the text into the bookmark dialogue box, I cannot control any simple formatting like BOLD or UNDERLINE. I need the code to do the following: If mergefield "computers" is not blank then INCLUDETEXT associated with bookmark "computers." Keep the formatting for the "computers" paragraph. If mergefield "computers" is blank - do nothing. If mergefield "environment" is not blank then INCLUDETEXT associated with bookmark "environment." Keep the formatting for the "environment" paragraph. If mergefield "environment" is blank - do nothing. etc. etc. The letter may have two of these paragraphs, all nine paragraphs or no paragraphs or blank spaces. Can someone get me started? -- Thanks You all are teaching me so much |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Rookie - Access to Word | Mailmerge | |||
If then statements | Mailmerge | |||
conditional if statements | Mailmerge | |||
Can you help with mail merge rookie? | Mailmerge | |||
financial statements | Microsoft Word Help |