Solved

VBA to place an email into your draft folder

Posted on 2010-09-14
4
906 Views
Last Modified: 2012-05-10
Is there VBA to place an email inside my MS Outlook DRAFT folder to double check attachments before emailing specific managers?  My current code automatically emails to the managers but I need to double check before sending so  I am using .
To = DLookup("EmailAddress", "TblEmailPayTemp")
Is there a VBA statement that addresses the "To"  but places the email into a draft folder?
0
Comment
Question by:CFMI
[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
  • 2
4 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 33671516
WHat code are you using generally to create the email?

Chris
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 33671931
CFMI,If you are using Access's SendObject method, then you can pass True for the EditMessage argument; that will bring up the message in an Outlook inspector and thus allow you to review before sending.If you are automating Outlook to send the message, instead of using:    olMsg.Sendto send the message, use:    olMsg.Displayto review/edit the message.Patrick
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 33672029
If you are automating Outlook and you simply want to save each message to Drafts so you can review them later, instead of using:    olMsg.Senduse:    olMsg.Close 0 '0 = olSaveThat saves the messages to your Drafts folder without sending them.
0
 
LVL 1

Author Closing Comment

by:CFMI
ID: 33672221
Works well - Thank you!!!
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 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