View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor
 
Posts: n/a
Default Mail Merge Using Tabs

From what you describe you need a construction something like

{IF {Mergefield fieldname} = "Condition" "{Mergefield
WiretransferFieldname}" "{Mergfield SalesTaxFieldname}"}
Insert the fieldnames and condition as appropriate.

If you want to conditionally insert a line break insert it in the result eg
{IF {Mergefield fieldname} = "Condition" "¶
{Mergefield WiretransferFieldname}" "{Mergfield SalesTaxFieldname}"}

Where you see ¶ press the enter key.

If this doesn't cover it, or you cannot work it out, come back with more
information about your fieldnames, the condition and how you want them laid
out.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


srm wrote:
Using Office 2003, XPP. I'm completing a mail merge using Excel and
Word. What I have are two lines one of which references a wire
transfer fee and the other is sales tax. If the condition is met,
either the wire transfer fee or the sales tax is printed (never both).
For each line I have indented the text on the left and have the costs
of the wire transfer fee and tax right justified. Now my question.

I always end up with either one or two additional blank lines (if no
wire transfer or sales tax) which pushes the total line down. The
blank line is the right justification of the costs but not value
printed. I tried entering multiple tab locations on one line, but no
luck. I an unsing the Paragraph mark to remove the blank lines and
this seems to work to a point.

Any idea how to remove the lines when there is no value for the total
cost.

Thanks

Shawn