If your attachment can be in Excel format, there are a few
ways you can send an XLS file from Access using the default
eMail program
'~~~~~~~~~~~~~
Here is a link to a simple method using
Application.Dialogs(xlDialogSendMail).Show
http://book.itzero.com/read/others/...Edition.eBook-LiB_html/8218final/LiB0088.html
from Access, you would define an Excel Application object
and use that reference instead of "Application"
ie:
xlApp.Dialogs(xlDialogSendMail).Show
'~~~~~~~~~~~~~
You can also use Access to issue the SendMail to Excel --
here is an Excel example (and you would just preface the
statements with the appropriate Excel object variable)
SendMail has 3 parameters:
1. recipient's address
2. subject
3. optionally, True or False for recipient confirmation (if
recipient's system can do this)
ThisWorkbook.SendMail _
"(e-mail address removed)", _
"Attached Workbook"
Warm Regards,
Crystal
Microsoft Access MVP 2006
remote programming and training
strive4peace2006 at yahoo.com
*
Have an awesome day
