Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Candace
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mail merge to EMAIL from MS Word AND add a pdf attachment Lily@Insight Mailmerge 24 January 15th 07 09:33 PM
Help to merge Image (Doug Robins?) JohnB Mailmerge 21 June 23rd 05 05:28 PM
Includetext Merge Field Jan Mailmerge 1 April 19th 05 01:36 AM
Enhance merge to email feature of word with cc: merge field. Efficeint Word User Mailmerge 2 April 5th 05 05:05 AM
suppress invalid merge field word 2003 Mike Mailmerge 3 December 9th 04 11:13 AM


All times are GMT +1. The time now is 11:17 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"