hi
I would like to put 3 more people on as a CC
but don't send the report
could you help me to do this from the code below
thanks
steve
I would like to put 3 more people on as a CC
but don't send the report
could you help me to do this from the code below
thanks
steve
Code:
Dim strTo As String
Dim strSubject As String
Dim strMessageText As String
Me.Dirty = False
strTo = Me.E_Mail_address
strSubject = " Please action NCR " & Me.[loss order number]
strMessageText = "NCR Number " & ":" & _
vbNewLine & vbNewLine & _
"Your latest Acknowledgement is attached."
DoCmd.SendObject ObjectType:=acSendReport, _
ObjectName:="order acknowledgement", _
OutputFormat:=acFormatPDF, _
TO:=strTo, _
Subject:=strSubject, _
MESSAGETEXT:=strMessageText, _
EditMessage:=True
Last edited: