+ Reply to Thread
Results 1 to 11 of 11

Send emails from a sheet attaching diferent .pdf files

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

    Send emails from a sheet attaching diferent .pdf files

    Hello everyone,

    I've been searching all around for a way to do the following:

    Send emails from a Excel sheet, where i have the following fields, "Name", name of the client(to enter on a specific place on the email body), "Email" of the client(where i want the email to be sent to), " Observations " ( some text ), and "Subject" ( email itself subject ).
    So four fields to place on the same standard letter, for example:


    Send to: "Email_field"

    Subject: "Subject_field"


    Dear "Name_field",


    Blablabla, " Observations_field " blablabla.


    Best regards.


    Now the tricky part, i need for each email, a unique .PDF file. So i could add a field who ID both emails and .pdf's.
    For example, five fields:
    In Excell i would have this.

    ID Email Subject Name Obrservations
    1 [email protected] Need Help Mr.Need Help I really need help


    And, with that ID = 1, it would go to specific Paste, and attach a file called 1.pdf.
    After that, just place the send emails on another specific Paste.

    Is this even possible, if so ? how ? i can't find any solution even close to this, being a program or a macro...
    My apologizes for my English, it ain't good...
    If someone needs clarification in order to be able to help me, please ask...
    Last edited by Darker0ne; 12-17-2013 at 08:35 AM. Reason: Broke Rule #1, sorry

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

    Re: Send emails from a sheet attaching diferent .pdf files

    No one able to help me out?
    Just a guideline would be great :|

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

    Re: Send emails from a sheet attaching diferent .pdf files

    Someone ?
    Please ? :|

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Send emails from a sheet attaching diferent .pdf files

    Hi,
    not sure if it's what you are after but try this code (I am surprised that you did not find it here!)

    Please Login or Register  to view this content.
    and your Sheet needs to have:
    col A-Name
    col B-Email address
    col C-path/file name such as C:\users\Sam\desktop\Sample.xls
    col D-path/file name
    col E-subject
    col F-Remarks
    col G-status such as "Sent"
    Regards, John55
    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.

    ...enjoy -funny parrots-

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Send emails from a sheet attaching diferent .pdf files

    ref yr question,
    possible
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Send emails from a sheet attaching diferent .pdf files

    see the test file, change the path/file name, the email address...

    Attached Files Attached Files

  7. #7
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Send emails from a sheet attaching diferent .pdf files

    Quote Originally Posted by Darker0ne
    i think you got me wrong...
    man, is possible to get you wrong, I provided a piece of code, then a test file....you say just "doesn't work" but you do not say what error occurs.
    if the file attached has different columns position you can rearrange them and regarding the .display method you can use .Sen

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

    Re: Send emails from a sheet attaching diferent .pdf files

    Hello,

    I'm sorry but that ain't true, i sended you a detailed information of what i wanted, i didn't said only " it doesn't work ".
    Im thankfull for your help, but it just isn't what i wanted... I don't even know if what i wanna do is even possible...

  9. #9
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Send emails from a sheet attaching diferent .pdf files

    I am sorry too, please provide more details here of what you are looking for and I am sure someone else can help you!

  10. #10
    Registered User
    Join Date
    01-06-2014
    Location
    Hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Send emails from a sheet attaching diferent .pdf files

    Hi Could anyone hlp me in correcting the code for attached Excel 2010.
    I am nota be to correct it. Basicaly the code is for to send the emails with PDF attachemnts against the list of email addresses mentioned in the excel
    Attached Files Attached Files

  11. #11
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Send emails from a sheet attaching diferent .pdf files

    Chandrahaas,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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