Results 1 to 4 of 4
  1. #1
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283

    Attaching Spreadsheet to email without saving it

    Hello,



    I was wondering if it's possible to create an excel spreadsheet from a query in access and attach it to a generated email without exporting the spreadsheet to a saved location. I have the email generated But I just don't want to have a folder on my desktop where I need to save the spreadsheet everytime I want it created then have to delete it. Thanks!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I'm curious, what is it you think you will be attaching to the email?

  3. #3
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,463
    Maybe send the email through Access? Look up SendObject Method:

    DoCmd.SendObject ObjectType, ObjectName, OutputFormat, To, Cc, Bcc, Subject, MessageText, EditMessage, TemplateFile

  4. #4
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283
    okay yes I'm going to use acSendTable

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

Similar Threads

  1. Email sending, Record Saving and Error Handling.
    By abodi in forum Programming
    Replies: 6
    Last Post: 08-31-2014, 05:28 PM
  2. attaching files to an email via a MACRO
    By bobandtom in forum Macros
    Replies: 22
    Last Post: 10-29-2013, 10:25 AM
  3. Replies: 1
    Last Post: 03-05-2012, 04:21 PM
  4. Replies: 1
    Last Post: 01-24-2012, 08:31 PM
  5. Email Excel Spreadsheet from Access
    By Nancy in forum Access
    Replies: 2
    Last Post: 11-09-2010, 02:37 PM

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