Display email before send

Brando

Enthusiastic Novice
Local time
Yesterday, 16:45
Joined
Apr 4, 2006
Messages
100
I'm a VBA rookie having trouble with displaying an email in Outlook for edit before I send it. I have the following code behind a command button on a form. Trouble is, is sends it automatically. Have I gone the wrong way using this approach?


Private Sub cmdAddInfo_Click()

Dim strToWhom As String
Dim strMsgBody As String
Dim strSubject As String

strSubject = "Job Ref. #: " & Me!txtLibrary
strToWhom = "brando@mycompany.com"
strMsgBody = "Insert your comments here."

DoCmd.SendObject , , , strToWhom, , , strSubject, strMsgBody, False

End Sub
 
Last edited:
I believe you just need to change the end 'False' to 'True'.
 
Thank you! That's all it took!
 

Users who are viewing this thread

Back
Top Bottom