|
-
Jun 19th, 2006, 09:01 AM
#1
Re: Email with Access Macro or VBA?
oh no.. dont use macros! they are EVIL! 
to send an email:
VB Code:
DoCmd.SendObject acSendReport, "rptName", , "TO here", "CC Here", "BCC Here", "Subject Here", "Message"
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 19th, 2006, 09:15 AM
#2
Thread Starter
Hyperactive Member
Re: Email with Access Macro or VBA?
I tried using the following code...
VB Code:
DoCmd.SendObject acSendReport, "rptBldrSvrSDNewAcct", acFormatDAP, " [email protected]"
acFormatDAP is for SnapShot, right?
But, I get an error message saying...
"The formats that enable you to output data as a Microsoft Excel, rich-text format, MS-DOS text, or HTML file are missing from the Windows Registry."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|