I am using a form to select an email address and Outlook template to email. I am able to get the new email to open in Outlook with the proper address without a problem (found the code in another post here). I cant seem to figure out how to adjust the code to use a pre-existing Outlook email template. The control Im using is cboTemplate. Here is the code:
On Error GoTo Err_Command39_Click
Dim stDocName As String
stDocName = "Empty_Report"
' DoCmd.SendObject acReport, stDocName
DoCmd.SendObject acSendNoObject, stDocName, acFormatXLS, Me.email_recipient, , , "Test Email", , True
Exit_Command39_Click:
Exit Sub
Err_Command39_Click:
MsgBox Err.Description
Resume Exit_Command39_Click
One final note, I am required to use Outlook.
Thanks in advance!