S
Scott
I have a requirement to send two reports that attaches
automaticly to the same email. I have tried the code
below, but only Rpt_1 attaches to the email. How do I do
this?
stDocName = "Rpt_1"
stDocName2 = "Rpt_2"
DoCmd.RunCommand acCmdRefreshPage
DoCmd.SendObject acSendReport, "stDocName",
acFormatRTF, , , , "SAMD R&R Monthly Report", , True
' DoCmd.SendObject acSendReport, stDocName2,
acFormatRTF, , , , "SAMD R&R Monthly Report", , True
automaticly to the same email. I have tried the code
below, but only Rpt_1 attaches to the email. How do I do
this?
stDocName = "Rpt_1"
stDocName2 = "Rpt_2"
DoCmd.RunCommand acCmdRefreshPage
DoCmd.SendObject acSendReport, "stDocName",
acFormatRTF, , , , "SAMD R&R Monthly Report", , True
' DoCmd.SendObject acSendReport, stDocName2,
acFormatRTF, , , , "SAMD R&R Monthly Report", , True