Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
If statements and blank lines
Would like to have some If statements where if Value1=0, then Field1 does not
print and blank line is suppressed. What I have now is {IF {MERGEFIELDValue1}=0 "Field1"} and this does not seem to be working. Thanks in advance. |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
If statements and blank lines
{ IF { MERGEFIELD Value1 } = 0 "{ MERGEFIELD Field2 }" "{ MERGEFIELD
Field1 }[Enter] { MERGEFIELD Field2 }" } -- 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 "Max" wrote in message ... Would like to have some If statements where if Value1=0, then Field1 does not print and blank line is suppressed. What I have now is {IF {MERGEFIELDValue1}=0 "Field1"} and this does not seem to be working. Thanks in advance. |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
If statements and blank lines
Doug,
That does help. How do I get the [Enter] into the expression - do I just type it or is there somewhere I can select it from? Also, can I do TAB the same way? Thanks in advance. "Doug Robbins - Word MVP" wrote: { IF { MERGEFIELD Value1 } = 0 "{ MERGEFIELD Field2 }" "{ MERGEFIELD Field1 }[Enter] { MERGEFIELD Field2 }" } -- 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 "Max" wrote in message ... Would like to have some If statements where if Value1=0, then Field1 does not print and blank line is suppressed. What I have now is {IF {MERGEFIELDValue1}=0 "Field1"} and this does not seem to be working. Thanks in advance. |
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
If statements and blank lines
Just use the respective keys on the key board for the [Enter] or a [Tab]
-- 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 "Max" wrote in message ... Doug, That does help. How do I get the [Enter] into the expression - do I just type it or is there somewhere I can select it from? Also, can I do TAB the same way? Thanks in advance. "Doug Robbins - Word MVP" wrote: { IF { MERGEFIELD Value1 } = 0 "{ MERGEFIELD Field2 }" "{ MERGEFIELD Field1 }[Enter] { MERGEFIELD Field2 }" } -- 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 "Max" wrote in message ... Would like to have some If statements where if Value1=0, then Field1 does not print and blank line is suppressed. What I have now is {IF {MERGEFIELDValue1}=0 "Field1"} and this does not seem to be working. Thanks in advance. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
mail merging formatted content | Mailmerge | |||
how to suppress a line having a nil or zero value in a merge file | Mailmerge | |||
Supress blank lines | Mailmerge | |||
Blank fields | Mailmerge | |||
How can I write IF statements in Mail Merge | Mailmerge |