+ Reply to Thread
Results 1 to 4 of 4

Send automatic emails, from a Excel sheet, attaching a specific .pdf file to each.

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Lisbon
    MS-Off Ver
    Excel 2007
    Posts
    24

    Send automatic emails, from a Excel sheet, attaching a specific .pdf file to each.

    Hello everyone.

    Often I have to send hundreds of emails.
    From a Excel list, with the following data columns. Name; Email; Subject; Text; File.

    Then I send an email for each line with that data, and attach a specific .pdf document from a specific folder.

    The emails must be sent from a specific, " From " email, my own. So IŽd like to add that directly to code, instead of creating a entry in Excel, since it's always the same email.

    The " Email " column data goes to the " To " field in email.

    The " Subject " column data goes to the " Subject " field in email.

    The " Name " Cell data goes into a specific place in the email, to complete a sentence like
    " Dear Mr/Mrs <Cell A2 Data> ".

    The " Text " column data goes to a specific place in the email body to complete a sentence, just like the " Name " example given above.
    Let's say: " Thank you for acquiring "<Cell D2 Data>. Any problems please reply to this email. ".

    The " File " column is where the file name is. For example "12345.pdf". This is the tricky part ( for me ... ), which I don't think is possible.
    For each line, I have a specific .pdf file, and I want the macro to read that cell, and from a folder, pick that file and attach it to the email, then send the email.

    Firstly, I'd like to know if getting this automatic is even possible.
    Secondly, if it's possible, can someone please help me?

    Thank you for your time.

    I'm using Excel and Outlook 2007.

    Darker

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Send automatic emails, from a Excel sheet, attaching a specific .pdf file to each.

    Ron de Bruin site is full with examples that you can adapt to serve your needs

    http://www.rondebruin.nl/win/section1.htm
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Registered User
    Join Date
    12-17-2013
    Location
    Lisbon
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Send automatic emails, from a Excel sheet, attaching a specific .pdf file to each.

    I'm aware of that site, but I am unable to adapt it for my needs.

  4. #4
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Send automatic emails, from a Excel sheet, attaching a specific .pdf file to each.

    Firstly, I'd like to know if getting this automatic is even possible.
    Sure. Upload a sample sheet.
    Click Go Advanced, scroll down until you see manage attachments.
    David
    (*) Reputation points appreciated.

+ 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. Send emails from a sheet attaching diferent .pdf files
    By Darker0ne in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-08-2014, 08:55 AM
  2. [SOLVED] Send customized emails to receipient with attaching a .ppt or .doc file
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2012, 01:04 PM
  3. Send automatic emails from excel.v2
    By JasonHopkins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2012, 11:26 AM
  4. Send automatic emails from excel
    By JasonHopkins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2012, 08:06 AM
  5. Macro to send automatic emails.
    By shekar goud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2009, 08:54 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