Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2006

Tip: Looking for answers? Try searching our database.

Format  a mail merge doc address 2  fields are needed insome ltrs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Smitty - 11 May 2006 00:11 GMT
I have a bunch of letters and my address 2 field has a suite or apartment
number. I want the address 2 field to go below the address 1 field, but not
all of the letters reqiure an address 2 field. How do I avoid having a blank
space in the letters where address 2 should go, but there is no address 2 to
insert in that specific letter? If the field code is used in the main letter
before I merge it, once it's merged I have blank spaces in some letters
because there is no information for that field code. Please help...
Doug Robbins - Word MVP - 11 May 2006 04:43 GMT
Use an If...then...Else... field that checks if address 2 is blank.  If it
is, have it insert the next field. If it is not, have it insert address2
followed by a carriage return and the next field

{ IF { MERGEFIELD address2 } = "" { MERGEFIELD nextfield } { MERGEFIELD
address2 }¶
{ MERGEFIELD nextfield } }

Signature

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

>I have a bunch of letters and my address 2 field has a suite or apartment
> number. I want the address 2 field to go below the address 1 field, but
[quoted text clipped - 7 lines]
> before I merge it, once it's merged I have blank spaces in some letters
> because there is no information for that field code. Please help...
Smitty - 08 Aug 2006 22:35 GMT
Thanks for the advice. I've revisited my letters and am still having a problem.

How do I do this? I tried to use the "If..Then...Else" Option in the
"Insert Word Field" Drop down menu from the Mail Merge Toolbar, but I must be
doing something wrong. I have 3  menus at the top: "Field Name" "Comparison"
and "Compare to". "Field Name" allows me to choose Address 2 and "Comaprison"
allows me to choose is blank, but the "Compare to" choice is not a drop down
menu, so I have to type something in there. And then below that is a blank
space for "Insert this text".

I tried to paste your { IF { MERGEFIELD address2 } = "" { MERGEFIELD
nextfield } { MERGEFIELD address2 }{ MERGEFIELD nextfield } } in, but I am
not getting the result I need. Please help again...

Thank you

> Use an If...then...Else... field that checks if address 2 is blank.  If it
> is, have it insert the next field. If it is not, have it insert address2
[quoted text clipped - 15 lines]
> > before I merge it, once it's merged I have blank spaces in some letters
> > because there is no information for that field code. Please help...
Peter Jamieson - 08 Aug 2006 23:49 GMT
It's usually easier to avoid Word's dialog box and insert all the field
codes yourself (at least when you start doing a bit more nesting). use
ctrl-F9 to insert each pair of the special "field braces" {}, and type
everything else using the usual keyboard keys. Use Alt-F9 to toggle between
"field view" and "field result/field preview view"

Peter Jamieson

> Thanks for the advice. I've revisited my letters and am still having a
> problem.
[quoted text clipped - 39 lines]
>> > before I merge it, once it's merged I have blank spaces in some letters
>> > because there is no information for that field code. Please help...

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.