+ Reply to Thread
Results 1 to 7 of 7

Consolidation of Duplicate Recipients to 1 Email per Recipient

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    St. Louis
    MS-Off Ver
    Excel 2010
    Posts
    9

    Consolidation of Duplicate Recipients to 1 Email per Recipient

    Hello Everyone,

    I am reaching out for assistance today in regards to auto generating an e-mail that will consolidate duplicate rows for 'column a' in my attachment. The key here isn't necessarily deleting the rows... What i really need is vba code that will enumerate through the table and auto generate an e-mail for each individual. For each individual, i need the code to generate a table in the body of the e-mail & attach the activity for that recipient and the date. The trip up here is when a recipient has two activities associated to their name, and their name shows up multiple times in the data set. I need the code to a) identify the duplicate recipient, b) send out 1 email for that person, and c) attach each activitiy/date (2 or more) to a table. Please let me know anyone can help.

    Thanks,
    -CrazyMazy


    Automate the Consolidation of Duplicate Recipients to 1 Email (2).xlsm

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Consolidation of Duplicate Recipients to 1 Email per Recipient

    Hi crazymazy

    Try the Code in the attached...
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    08-01-2013
    Location
    St. Louis
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Consolidation of Duplicate Recipients to 1 Email per Recipient

    Jaslake - sorry for the delay in response.....I was on vacation all last week.

    The code you provided works beautifully! I can't thank you enough. I will mark this thread as 'solved'.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Consolidation of Duplicate Recipients to 1 Email per Recipient

    You're welcome...glad I could help.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    07-19-2016
    Location
    SAN JOSE
    MS-Off Ver
    2013
    Posts
    3

    Re: Consolidation of Duplicate Recipients to 1 Email per Recipient

    Hello Jaslake, great code, congrats!!I would like to enter an html text before the table, and (only if possible) one image in the header, and my Outlook signature afeter the table, could you help me??thanks in advance..regards!!

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Consolidation of Duplicate Recipients to 1 Email per Recipient

    Hi varauz

    Welcome to the Forum!!!

    Please start your own Thread...hijacking is frowned upon in this Forum.

  7. #7
    Registered User
    Join Date
    07-19-2016
    Location
    SAN JOSE
    MS-Off Ver
    2013
    Posts
    3

    Re: Consolidation of Duplicate Recipients to 1 Email per Recipient

    I'm sorry, I thought it was a friendly forum to use it.

+ 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. Email multiple worksheets to multiple recipients in one file per recipient
    By LeanAccountant in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-03-2014, 09:44 AM
  2. [SOLVED] How to send Lotus email with VBA to more recipients and also to more copy recipients
    By Sachy in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-20-2013, 03:23 PM
  3. Replies: 4
    Last Post: 02-29-2012, 08:14 PM
  4. email one sheet to many recipients based on email list
    By cdl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2008, 11:12 AM
  5. Email help...need IF statement for more than one recipient
    By tanyhart in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2006, 10:22 AM

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