+ Reply to Thread
Results 1 to 1 of 1

Button Click: Generate Outlook Email, Include Data from Two Separate Columns (Almost Done)

  1. #1
    Registered User
    Join Date
    04-05-2017
    Location
    Pittsburg Ca
    MS-Off Ver
    Excel 2007
    Posts
    13

    Button Click: Generate Outlook Email, Include Data from Two Separate Columns (Almost Done)

    Hello,

    I have a work sheet (Excel 2007) with a few buttons that generate emails based on certain cell values. When clicked they sort by a specific date in a column then by customer name. It uses the customer name to grab email address from a separate sheet "Mailinfo" and then it generates an email with the correct addresses using an outlook 07 template. The functionality works for 3 out of 4 buttons.

    I am having trouble with the 4th button "Notify Cust of Estimated Ship Date."

    I need the macros to take data from two separate columns (D & J) "Order Number" and "Estimated to ship." (If column K has today's date in it, then I need the email outlook template to include the data from the cell D & J, preferable as normal text but a picture would also work)

    Currently I can only get it to work by taking a picture of the cell range (D1:J) and inserting it into the template. The problem is I do not want the cells E to I included in the email. Other people have been using this sheet for many years so I am trying to avoid rearranging the columns and screwing up their work flow.

    Note: See Attached, all files need to be in the same folder and the sheet grabs email info from the email folder.

    Any help will be greatly appreciated.
    Attached Files Attached Files

+ 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 Excel Data row wise on button click
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2017, 06:06 AM
  2. [SOLVED] I need a popup box to appear each time I click the "new email" button in Outlook
    By spreadsheetsareLIFE in forum Outlook Programming / VBA / Macros
    Replies: 3
    Last Post: 10-13-2016, 02:53 PM
  3. How to trigger Outlook Email from excel with the click of a button?
    By nikstheicon in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-01-2014, 10:14 AM
  4. Replies: 4
    Last Post: 01-02-2014, 12:19 PM
  5. VBA outlook - Include sheet4 in body of the email
    By xatomicx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2010, 01:06 PM
  6. Using Excel VBA to generate an email in outlook
    By BrianDegnan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2010, 12:14 PM
  7. generate button click
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2006, 05:45 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