Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Merge field punctuation
Is there any way to display punctuation after a merge field depending on
whether or not there is any data in that field? For instance, I have a sentence that includes an Address1 field and an Address 2 field. I have a comma between the two address fields. If some of the records that merge do not contain a second address, I don't need the comma that prints after the first address. Is this possible with Word 2003? |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Merge field punctuation
Use an If...then...Else... field
{ IF { MERGEFIELD Address2 } "" ", { MERGEFIELD Address2 }" "" } You must use Ctrl+F9 to insert each pair of field delimiters. Put this field construction immediately after your Address1 mergefield and note that there is a space after the comma. -- 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 "Candace" wrote in message ... Is there any way to display punctuation after a merge field depending on whether or not there is any data in that field? For instance, I have a sentence that includes an Address1 field and an Address 2 field. I have a comma between the two address fields. If some of the records that merge do not contain a second address, I don't need the comma that prints after the first address. Is this possible with Word 2003? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I mail merge to EMAIL from MS Word AND add a pdf attachment | Mailmerge | |||
Help to merge Image (Doug Robins?) | Mailmerge | |||
Includetext Merge Field | Mailmerge | |||
Enhance merge to email feature of word with cc: merge field. | Mailmerge | |||
suppress invalid merge field word 2003 | Mailmerge |