View Single Post
  #3  
Old March 16th, 2009, 05:53 PM posted to microsoft.public.word.newusers
Ed Sowell
external usenet poster
 
Posts: 13
Default Conditionals in Mail Merge label layout

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?

Thangs again.

Ed

"Doug Robbins - Word MVP on news.microsoft.com"
wrote in message ...
Use the following field construction:

{ IF { MERGEFIELD Country } "USA" { IF { MERGEFIELD Country } "" {
MERGEFIELD Country } "" } "" }

You must use Ctrl+F9 to insert each pair of field delimiters and you use
Alt+F9 to toggle off their display.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Ed Sowell" wrote in message
...
I'd like to skip the Country entierly if the data is blank or USA. How is
this done?

TIA

Ed