Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Jan
 
Posts: n/a
Default Mailmerge from Excel Datasource

I am currently doing a mailmerge to the Electoral Register and have set my
headers in Excel as Title, First Name, Last Name, Add 1, Add2, Add3, Postcode
etc. The problem is that the register contains different information in Add1,
Add2 and Add3 fields eg. Add1 may contain Flat 1, Add2, Street name and
Number, Add3 Town etc. My issue is, in Add1 on some fields it contains no
Flat number and shows information for Add2. I have tried putting the fields
on the same line but it does not look professional having London etc on the
same line as the address. Is there a code I can insert to insert a hard
return should the information differ. I did look at some of the codes
adajacent to the mergefields tab but could not see anything. Thank you, if
you can, of coure assist.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Mailmerge from Excel Datasource

Use an If...then...Else... field construction to check for the presence of
data in a field. It is a bit hard to provide exactly the arrangement that
you will need because it is not clear whether, if in the absence of a Flat
number in the Add1 field if the town/city is in the Add2 or Add3 field. It
maybe the presence of data in the Add3 field that needs to be tested.

--
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

"Jan" wrote in message
...
I am currently doing a mailmerge to the Electoral Register and have set my
headers in Excel as Title, First Name, Last Name, Add 1, Add2, Add3,
Postcode
etc. The problem is that the register contains different information in
Add1,
Add2 and Add3 fields eg. Add1 may contain Flat 1, Add2, Street name and
Number, Add3 Town etc. My issue is, in Add1 on some fields it contains no
Flat number and shows information for Add2. I have tried putting the
fields
on the same line but it does not look professional having London etc on
the
same line as the address. Is there a code I can insert to insert a hard
return should the information differ. I did look at some of the codes
adajacent to the mergefields tab but could not see anything. Thank you,
if
you can, of coure assist.



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 print an Excel Autoshape on a Word doc using mailmerge? TG in AZ Mailmerge 2 February 25th 06 04:15 PM
Mailmerge datasource LuckyLady Mailmerge 1 September 2nd 05 06:26 PM
automated mailmerge using Brio/Excel 2.1 datasource files Heidi Mailmerge 1 February 15th 05 12:41 PM
mailmerge - excel datasource - other file extension? Ralf Pickel Mailmerge 1 February 14th 05 08:05 PM
word 97 mailmerge with paradox files as datasource saj via OfficeKB.com Mailmerge 0 December 24th 04 12:14 PM


All times are GMT +1. The time now is 02:46 PM.

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"