Results 1 to 3 of 3
  1. #1
    LanieB is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    54

    Lightbulb how do I add the attachment to an email?

    Hello Everyone!



    Question. I have a VERY SIMPLE button on a form that the user can press after they select the 'person' they want to email from the below list. It sets up the email using outlook. My question is, how can I get the attachment that is saved to the 'select contact' to automatically attach to that email as well? Everyone persons file attachment will have a different name AND they are saved in a different folder on the shared drive....

    Is there a way to set it up so it will attach whatever is attached to that selected contact regardless of file name?

    Thank you all for your assistance!

    Lanie~

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If you're saying you have the path available, you can use automation:

    http://support.microsoft.com/?kbid=161088
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    LanieB is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    54
    thank you very much for your response, that is a fantastic article.

    My issue with the instrcutions provided in that link are, the file path will be different for each record.
    These are employee records so each employee has their own folder where this information is saved, so the file path would be different.
    Is there a way to 'tell access' to attach whatever it is (they are all pdfs) attached to the attachment field on the selected employee?

    Your assistance is GREATLY appreciated. Thank you!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Sending email with an attachment
    By jle0003 in forum Access
    Replies: 3
    Last Post: 12-19-2012, 12:43 PM
  2. Send Email with Attachment VBA Code
    By kevins in forum Programming
    Replies: 2
    Last Post: 10-03-2012, 01:21 PM
  3. Email with attachment
    By Ganymede in forum Access
    Replies: 2
    Last Post: 06-01-2012, 01:59 PM
  4. Mailmerge an Email with an attachment
    By Baldeagle in forum Access
    Replies: 8
    Last Post: 05-21-2012, 02:21 PM
  5. email attachment from Access
    By Gandalf in forum Queries
    Replies: 0
    Last Post: 01-22-2009, 10:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums