My IF statement doesn't work...anyone know why?

M

Marty

Hi,

Here's my code:

{ IF { MERGEFIELD SALUTATION }= "" "Dear { MERGEFIELD FIRSTNAME }," "Dear {
MERGEFIELD SALUTATION } { MERGEFIELD LASTNAME }," }

This code only displays "MERGEFIELD"

The rest of the address fields display fine, but this won't work. Any ideas?

Thank you,

Marty
 
G

Graham Mayor

Did you insert each pair of field boundaries with CTRL+F9?
Did you toggle the display (ALT+F9)

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
M

Marty

Thank you very much. I was using the bracket key on the keyboard. It works now.

Thanks,

Marty
 

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