Solved

Outlook VBA Code

Posted on 2004-10-01
1
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
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: …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

710 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