Solved

Outlook VBA Code

Posted on 2004-10-01
1
195 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Read this checklist to learn more about the 15 things you should never include in an email signature.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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