+ Reply to Thread
Results 1 to 3 of 3

Mail merge

  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    U.S
    MS-Off Ver
    Excel 2003
    Posts
    42

    Mail merge

    Hi.

    I want to merge excel sheet into word document how can i do that?

    Basically I want to merge some excel data into a word document.
    The word document is a packing slip.
    It contains information for the customer,
    order #,
    order date,
    sku, item #,
    qty,
    description

    among other small details.

    All these information is of course in an excel file.

    The way the excel file is built is one line (row) per item number.
    In other words, the order #, customer name and address as well as item information is all in one line. If the customer ordered more than one item, that information is on the next line (row). All the info is the same for the customer except the item information.

    I want to merge all the information and print one packing slip per customer. This packing slip should have all the item that were purchased by that customer.

    Doing the simple merge and designing the document is done!
    My problem is how do I make MS words check for the current record and compares it to the previous one to see if they are similar (order number) if they are then it will move to the next record and merge the item information.
    If the order number is not the same, then it will continue creating a whole new document and merge the information for that current record.

    How can I archive this?
    Please help!

  2. #2
    Forum Administrator ExlGuru's Avatar
    Join Date
    03-17-2009
    Location
    India
    MS-Off Ver
    2003,2007
    Posts
    222

    Re: Mail merge

    Get the information this will help you...

    http://www.internet4classrooms.com/m...formletter.htm
    ExlGuru

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Mail merge

    ExlGuru,

    if it were just a simple mail merge, there would have been answers here already. I think the issue is more complex than that, thus no replies so far. The OP is after a mail merge that will include several sub records under a main record. Unfortunately, simple mail merge does not support this, since the "next record" command can not be nested in a condition.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1