|
When you send an email from Access, Outlook displays a warning informing you that an outside application is trying to send an email and if you want to continue etc.etc..
If you don’t want to see this message, wrap your email in a safe email and then send it. Check out Outlook Redemption at http://www.dimastr.com/redemption/.
Lava
------------------------------------------------ Lava Boggavarapu Lava Trading Inc. 95 Morton Street, 6th Floor New York, NY 10014 Tel 212.519.9371 Fax 212.519.9283 Mobile 732.668.2935 -----Original Message-----
One thing we do here is to:
1) create a temp directory 2) output the query as an Excel spreadsheet, and save it in the temp directory 3) Attach it to an e-mail
'put this in the form code: Const Base_path As String = "C:\Temp123456789" 'put this behind the button to perform the action MkDir Base_path 'we have this in its own module 'Create
the OUTLOOK OBJ
Hope that helps. There is some extra stuff I took out - error-checking, and where we set the variables for the To, Subject, Body and report name, but I know you can do that stuff easily.
|
Title: E-mail with spreadsheet attachment
- [AccessDevelopers] E-mail with spreadsheet attachm... Hoffman, Tobi K \(DYS\)
- RE: [AccessDevelopers] E-mail with spreadshee... Eric Douglas
- [AccessDevelopers] Re: E-mail with spread... Brian Stenglein
- RE: [AccessDevelopers] E-mail with spreadshee... Lava Boggavarapu
- RE: [AccessDevelopers] E-mail with spreadshee... Eric Douglas
- RE: [AccessDevelopers] E-mail with spread... Tom Oakes
- Re: [AccessDevelopers] E-mail with sp... Toby Bierly
- RE: [AccessDevelopers] E-mail wit... Tom Oakes
- RE: [AccessDevelopers] E-mail with spreadshee... Hoffman, Tobi K \(DYS\)
