+ Reply to Thread
Results 1 to 6 of 6

Directory Mail Merge

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2013
    Posts
    78

    Directory Mail Merge

    Dear all,

    I have to mail merge a customer list in excel in which the names will vary according to each region. I knew this has to be accomplished via directory mail merge. However, I am a novice and do not know how to achieve it.



    1. Region
    2. am customer name
    3. am customer title
    4. pm customer name
    5. pm customer title

    The original data comes in by one region one row with the above append across different columns. Due to the format of a directory, I think I have to convert them into the one as attached first.

    The above are the headings of a table with the text in the region column to be a merged cell. I have tried to use the field codes but the names under one region would separate into different pages under the existing codes. Please advise. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Directory Mail Merge

    To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial at:
    http://www.msofficeforums.com/mail-m...-tutorial.html
    or:
    http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
    The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it.

    Depending on what you're trying to achieve, the field coding for this can be complex. However, since the tutorial document includes working field codes for all of its examples, most of the hard work has already been done for you - you should be able to do little more than copy/paste the relevant field codes into your own mailmerge main document, substitute/insert your own field names and adjust the formatting to get the results you desire. For some worked examples, see the attachments to the posts at:
    http://www.msofficeforums.com/mail-m...html#post23345
    http://www.msofficeforums.com/mail-m...html#post30327

    Another option would be to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An outline of this approach can be found at: http://answers.microsoft.com/en-us/o...1-1996c14dca5d

    Conversely, if you create a new worksheet in your Excel workbook with a separate table containing just a single instance of each of the grouping criteria (e.g. Region), a DATABASE field in a normal ‘letter’ mailmerge main document could be used without the need for a macro. An outline of this approach can be found at:
    https://answers.microsoft.com/en-us/...f-8642e46fa103
    For a working example, see:
    http://www.msofficeforums.com/mail-m...-multiple.html

    Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from:
    Graham Mayor at http://www.gmayor.com/ManyToOne.htm; or
    Doug Robbins at https://onedrive.live.com/?cid=5AEDC...43615E886B!566
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Registered User
    Join Date
    09-20-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2013
    Posts
    78

    Re: Directory Mail Merge

    Dear all,

    The issue is solved by using Directory mail merge, there is no need to reformat the source data, one region one record. Then have to use delete blanks macro to delete the blank rows as below.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Directory Mail Merge

    If you used the directory merge instructions in my tutorial, there would be no blank rows to delete.

  5. #5
    Registered User
    Join Date
    09-20-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2013
    Posts
    78

    Re: Directory Mail Merge

    Dear Macropod,

    I did read your tutorial but I am not sure how it could be applied.

    My task is as follows:

    A grid Word table containing:
    First column: Organisation name (as a merged cell of 5 rows)
    2nd & 3rd: Name and title of 1st event (Up to 5 persons)
    4th & 5th: Name and title of 2nd event (Up to 5 persons)

    Hence when I did the mail merge, there were always 5 rows for each organization, although there is just one attendee for some of the organisations, hence 4 blank rows. Hence I used the macro above to delete the blank rows.

    Thanks for your advice.

  6. #6
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Directory Mail Merge

    The tutorial shows how to create tables whose row count varies according to the number of records per group. There's a whole section on that topic.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mail Merge Directory - Creating merge with multiple lines
    By tiggynook in forum Excel General
    Replies: 3
    Last Post: 05-03-2017, 03:00 PM
  2. Directory Mail Merge - combining multiple clients..?
    By RossInk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2014, 11:28 AM
  3. [SOLVED] Catalogue/Directory Mail Merge to email = Hitting a brick Wall! Help, Please...!
    By RossInk in forum Word Formatting & General
    Replies: 11
    Last Post: 06-03-2014, 08:11 PM
  4. Replies: 0
    Last Post: 12-14-2012, 02:01 PM
  5. Replies: 2
    Last Post: 04-24-2012, 11:07 AM
  6. mail merge, option to not choose closest match from active directory?
    By kuraitori in forum Word Formatting & General
    Replies: 0
    Last Post: 11-25-2009, 08:38 PM
  7. Mail Merge directory v2003
    By leaftye - ExcelForums.com in forum Excel General
    Replies: 2
    Last Post: 06-16-2005, 12:05 PM

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