Solved

Outlook VBA Code

Posted on 2004-10-01
1
193 Views
Last Modified: 2010-04-08
Hello,
I have an Access database that performs various functions and at the end I want a blank email message to open with only the subject line filled in as well as an attachment added.  I'd like to do this all from VBA but I don't know what code to use.  I know how to send an email using VBA and the MAPI interface but I'd prefer to just have a blank message open with limit fields pre-populated so that the user can fill in the "To" field.  I know there are better ways to process emails from Access that don't require any user interaction but the person I'm coding this for does not want that type of functionality for whatever reason.  Any help would be appreciated.

Thanks.
0
Comment
Question by:liquid22
1 Comment
 
LVL 8

Accepted Solution

by:
jessnjeff earned 125 total points
ID: 12204495
THere is plenty of code out there.

Try here www.slipstick.com, here is the exact page:  http://www.outlookcode.com/d/database.htm

Also an Access site with connection & email code here:
http://www.helenfeddema.com/CodeSamples.htm , search the page for Outlook, they are down near the bottom.


0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now