+ Reply to Thread
Results 1 to 2 of 2

Macro to generate Outlook emails with data/information from multiple rows of data

  1. #1
    Registered User
    Join Date
    04-30-2014
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro to generate Outlook emails with data/information from multiple rows of data

    Hello All,

    I am attempting to create a macro to generate emails based on data in a sheet, and am in dire need of some help. The goal is to run the Macro, and have it generate emails to send to contractors letting them know what they are going to be paid. For instance:

    Name in Column J
    Email in Column L
    Memo in Column N
    Balance in Column T
    Due Date in Column P
    Week Ending Date in Column H

    Now what I would like to happen, is to tie a macro into a button that will create the email as follows:


    To Field: Email address from Column L
    Subject: "Company Payment Remittance Payment Date *Date from Column P*"
    Body: Hello *Name from Column J*,
    For *WE Date in Column H* you will be paid *Balance from Column T* for the time worked of *Memo in Column N*

    Now the tricky part is that I want the email to contain all line items for each email address. So instead of sending one email per line, have the macro automatically put all of the information that needs to be sent to one email address into the message. I don't know if that is possible, but it sure would make my life easier if it was.

    I have attached a sample workbook of the data that will be used, and I greatly appreciate any and all insight on this matter. Let me know if there is anything that needs to be clarified and I will happily do so!

    Example Workbook for Email Macro.xlsx

    Kind Regards,
    Dasbrutalz
    Last edited by Leith Ross; 04-30-2014 at 07:33 PM.

  2. #2
    Registered User
    Join Date
    04-30-2014
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to generate Outlook emails with data/information from multiple rows of data

    Update:

    Got a macro working to generate the emails with the data from the sheet, the only issue I'm still having is being able to consolidate all the data to one email based on the email address's given. Any insight would be greatly appreciated on how to get the macro to consolidate all data per email address. Here's the code I'm working with now (Screen updating is set to True for now for debugging/testing purposes):

    Please Login or Register  to view this content.
    Thanks in advance for your help!!!

+ 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. [Outlook 2010] Macro to import data from incoming emails
    By vidaLL in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2013, 04:42 PM
  2. [SOLVED] Export specific rows of data into unique outlook emails per client
    By ryanexceln00b in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2013, 09:24 AM
  3. Macro to get the data exported to an excel from Outlook emails and or attachments?
    By lifeisaspreadsheet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2012, 04:31 PM
  4. Export outlook emails - Security information
    By joe_for_good in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2011, 05:24 PM
  5. Generate multiple emails from a data table
    By Peanuts890 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2009, 03:49 PM

Tags for this Thread

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