+ Reply to Thread
Results 1 to 2 of 2

URGENT: Macro to create email with subject and body from excel file and also attach it

  1. #1
    Registered User
    Join Date
    10-27-2014
    Location
    Lisbon
    MS-Off Ver
    2010
    Posts
    24

    URGENT: Macro to create email with subject and body from excel file and also attach it

    Hi everyone, I'm desperately in need of help for this one! I can't seem to do it myself this time.

    Basically, I want to have a button in my workbook that automatically creates en email in Outlook.

    I want the subject and body of the email to be populated by text from a few ranges of the workbook as well as a table pasted as an image, and then I want the same workbook to attach itself to the email. The email recipients, cc, bcc, etc., will be left empty.

    I'll attach the file I want to use to this post and I'll explain what I want the macro to do step by step:

    - Create new email in Outlook, en empty message, without the user's signature
    - Select and copy cell B6 from sheet "TEMPLATE EMAIL" and paste it to the subject of the email
    - Select and copy the entire A column from sheet "TEMPLATE EMAIL" and paste it to the body of the email
    - Select and copy the the entire range that only contains text from the table in sheet "TEMPLATE", leaving the empty rows out. I want to select the blue, green, black and grey headings and go down to select until the last line of text of this table.
    - Select the 12th row of the email body and paste special as "Picture (Enhanced Metafile)" the previous table
    - Insert the excel file to the email as an attachment

    I will also attach a screenshot of how the email should look like in the end.

    Actually it appears I can't attach anything here, so I'll just post a link to wetransfer, hope that's ok.
    https://www.wetransfer.com/downloads...5101007/52b6ee

    Thanks in advance!!

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: URGENT: Macro to create email with subject and body from excel file and also attach it

    Go to the Commercial Services section of this site http://www.excelforum.com/commercial-services/
    And read the FAQ on how to solicit paid help.
    Ben Van Johnson

+ 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. [SOLVED] Create an email in Excel and attach the file as a PDF
    By MissDB in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-21-2014, 09:50 AM
  2. vba pull data from outlook body of email through email or subject of mail into excel
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2014, 04:37 AM
  3. need to have macro that emails the workbook, adds in subject and body to email
    By CityInspector in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 02:57 PM
  4. export outlook 2007 email into excel with subject and body of email
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 02:37 PM
  5. [SOLVED] Create macro to send worksheet as body of email using cells as subject line
    By LindaABH in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-16-2012, 07:43 PM
  6. Replies: 6
    Last Post: 12-02-2011, 02:14 PM
  7. Standard Email Macro connecting Body to Subject
    By jncswe in forum Outlook Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2011, 06:28 PM
  8. [SOLVED] Email Range of Cell Content to create subject and body from link
    By Hahndo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2005, 07: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