I have this code, curtisy of Twinnyfo but I am looking to add another recipient email address as a "cc". Can you please advise on the addition to the code...
Code:
Private Sub cmdSubmit_Click()
On Error GoTo EH
Dim strSubject As String
Dim strAddressees As String
Dim strEMailBody As String
strSubject = "Changes Requested"
strAddressees = "your.name@company.com"
strEMailBody = "Test Message"
DoCmd.SendObject acSendNoObject, , acFormatTXT, strAddressees, , , strSubject, strEMailBody, True
Exit Sub
EH:
MsgBox "There was an error sending this note! Please contact your Database Administrator.", vbCritical, "Error!"
Exit Sub
End Sub
Comment