merge fields alignment

T

Tanya

I am having trouble aligning merged fields in the address block of main
document

"Trading Name" "Organisation Name" on the one line in the address block:

If the data record (from excel) does not have "Trading Name" info and is
blank - the row will not align/shift/move the "Organisation Name" to the
left margin. I have tried switches advance\l6 etc but just have overlap.. I
must be missing the basic.!

Any help appreciated (please be very basic in any instructions)

Tanya
 
D

Doug Robbins - Word MVP

I am not sure whether your reference to address block is to the AddressBlock
field or to an area of the document. If it is to the AddressBlock field,
don't use it. Rather insert the mergefields that you want in the
configuration that you want them.

If the TradingName field is blank, you will need to use an
If...then...Else... field construction to avoid the unwanted space

{ IF { MERGEFIELD "TradingName" } <> "" "{ MERGEFIELD "TradingName" } {
MERGEFIELD "OrganizationName" }" "{ MERGEFIELD "OrganizationName" } }

You must use Ctrl+F9 to insert each pair of field delimiters { } and Alt+F9
to toggle of their display.

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

Tanya

Thanks for the quick response! I have tried as suggested, however it is
still not lining up on the left margin of the letter if the first field does
not have information. It still leaves one space (and am not using the
address block)

Any other suggestions??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top