Word Form Letter - If - then statements

  • Thread starter Thread starter tikitorch6
  • Start date Start date
T

tikitorch6

I have created a form letter that pulls information from a loca
database and populates the letter. However, I can't figure out how t
insert an if-then statement. Example: The letter reads "Dea
<<Borrower>>, <<CoBorrower>>"

Instead of the comma seperating the two I would like the form to inser
the word "and" IF the CoBorrower exists and leave it blank if th
CoBorrower does not exist.

Can anyone help me with this?

Thank you
 
I expect you'll get an answer here. If not, you might try posting to the
newsgroup intended for mail merge questions,
microsoft.public.word.mailmerge.fields.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Insert the fields manually using CTRL+F9 to set each pair of field
boundaries {}
Then you'll need something along the lines of

Dear {Mergefield Borrower}{IF {Mergefield CoBorrower} <> "" " and
{Mergefield CoBorrower}"}
Toggle the display with ALT+F9 to show the result.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top