Thanks, Doug. Wierd! It would be clearer is there were explicit THEN and
ELSE.
I have a couple other questions, if you don't mind. When the Country field
is USA or empty I'd like to not have the extra empty line at the end. Is
there a way I can put a newline character in front of the Country merge
field so it is conditional?
Also, how can I specify a vertical centering within the label?
To remove the blank line put the field on the previous line and add in the
paragraph break eg
{Mergefield City}{ IF { MERGEFIELD Country } <> "USA" { IF { MERGEFIELD
Country } <> "" "¶
{MERGEFIELD Country }" "" } "" }
With a paragraph break (press enter) where you see ¶
For the vertical centering. select the table and format > table > cell >
alignment.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
Thanks, Graham. That did it. I tried something like that, but omitted the
unmatched double quote in front of the paragraph marker. Is that the escape
sequence for embedding literals in Mail Merge? Where are all these rules
written?
The quote is not unmatched? It is paired with the quote after {MERGEFIELD
Country }"
You will find quite a bit (but not everything) about fields on my web site
at http://www.gmayor.com/formatting_word_fields.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
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.