Office & Productivity Software forum

General discussion

Word Xp mail merge

by Subra / April 6, 2006 7:57 PM PDT

I am using MSOFFICE XP.
I have created a merge document in Word and the data is taken from an Excel spread sheet.

I use this to printout invoices which has the information on the product, pricing, tax rate etc., and the payment received - ( by cheque, draft, credit card etc., with details)

If the payment is not received then the invoices get printed out as follows
"By Cheque for Rs. 0.00 Cheque No of dated 12:00:00 AM"

Essentially I want to suppress this line from printing when payment is not received.

How do I do that ?

Please help

Thank you

Discussion is locked
You are posting a reply to: Word Xp mail merge
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Word Xp mail merge
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: mail merge
by Kees Bakker / April 6, 2006 9:57 PM PDT
In reply to: Word Xp mail merge


The best solution, in my opinion: put the whole line to print in a separate column in Excel. Using IF and FORMAT and text concatenation operator & you can finetune it as you like. Then print that column as a simple text field, like name and address.

Hope this helps.


Collapse -
If in Word
by entrecon / April 7, 2006 3:53 AM PDT
In reply to: Re: mail merge

The other option is to build your IF statement in Word. I am not sure exactly what you want/don't want or where in your document but try "Insert>Field" and then find the "IF" field.

Collapse -
Re: or in Word.
by Kees Bakker / April 7, 2006 6:04 AM PDT
In reply to: If in Word


That certainly should be possible. But the details of mail-merge fields and formatting in Word are more complex, in my opinion, than working with formulas and functions in Excel. But of course, it could just be my inexperience on my side. Things you've never done seem more complex than things you do regularly.

One advantage of doing it in Excel certainly is that you see the results immediately. As soon as you try a formula the result is shown for one line, and it's simple to drag it down to see the results in all lines.

Programming is difficult and error-prone. And this is kind of programming. So anything to make things easier is welcome. That's why I said what I said. Still, the option you mention is a good alternative, no doubt about that. Thanks for the tip.


Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions

Does BMW or Volvo do it best?

Pint-size luxury and funky style

Shopping for a new car this weekend? See how the BMW X2 stacks up against the Volvo XC40 in our side-by-side comparison.