View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Anvil22 Anvil22 is offline
external usenet poster
 
Posts: 11
Default merg document formatting

Doug this works great. However is the a way to close the blank line if no
nick name is used.
I'm not sure I'm explaining it correctly. Let the try with an example

Thomas
(tom)
Mary - Wife

Thomas
blank line - no nick name
mary

Could it read
Thomas
mary

Thank you
Dick


"Doug Robbins - Word MVP" wrote:

Use the following field construction

{ IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" }

You must use Ctrl+F9 for 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

"Anvil22" wrote in message
news
I have a word document (catalogue) around one of the fields I would like
to
put a parenthesis. (nick_name). If there isnt a nick name I would like
the
space left blank without the parentheses. I have tried if then but cant
seem
to get it to work. Can anyone help?
Thanks
Dick