View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Conditional merging a field and formating it

Use an If...then...Else... construction in the mailmerge main document as
follows

.. Item in Bulleted List¶
{ IF { MERGEFIELD [mergefieldname] } = "True Condition"¶
.. { MERGEFIELD [mergefieldname] } "" }¶

where you press Enter where each ¶ appears in the above. You must use
Ctrl+F9 to insert each pair of field delimiters { } and 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

wrote in message
oups.com...
Hi,
I have a field that only shows if a condition is true, the field is
part of a bulleted list, so when it shows I need to put a bullet in the
beggining, but when It does't show I don't want to have te line space.
Thanks a lot

Spanish version--------------------

Hola,
Mi problema es el siguiente, tengo un campo convinado que a traves de
un condicional se muestra o no segun la condición. forma parte de una
lista con viñetas entonces cuando se muestra necesito que tenga la
viñeta al principio pero cuando no se muestra no quiero la viñeta ni
el espacio.
Muchas gracias.