how to perform auto correct function on a mail merge document

G

Guest

in a mail merge, I am familar with the "if...then...else" statemant.
I have a group of codes - 6 of them that I want expanded on the merged
output letter.
Input is in an excel file.
data in that looks like "P/S" in the letter I want "Perry Smith Memorial
Fund" to appear.
any suggestons?
I've updated the auto correct function and it works fine when I type "P/S"
but
how to perform that on the output of the mail merge?
Rong
 
J

Jezebel

With mail merge it's usually better to correct the source data. Open the
Excel file and make the change there.

You could also make the change in the merge SQL statement.
 
G

Graham Mayor

If you are certain that there is *only* going to be one of six entries in
this field you could use a series of conditional fields all on the same line
eg
{IF {Mergefield fieldname} = "P/S" "Perry Smith Memorial Fund"}{IF
{Mergefield fieldname} = "XB" "Something else"}etc
It would however be easier to add another column to the data file and
produce the required merge information there.
Don't even think of autocorrect for this.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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

Top