Rookie INCLUDETEXT Or IF Statements

K

knowshowrosegrows

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?
 
K

knowshowrosegrows

Thanks for reading my post - I figured it out by combining a number of other
posts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top