M
March
Hello All,
I would like to know how to write VBA to attach file then send it email.
I use sendobject method as the code following this
DoCmd.SendObject acSendReport, "<reportfilename>", acFormatRTF, "<sender
email>", "", "", "TEST", "Testing", True
the code is send the email of report that I created in Access.
However, I change the format of the file from RTF to PDF, that means I need
to attach the PDF in my email.
I don't know that how can I correct the code above or any other methods that
I need to use.
Please give me suggestion.
Thank you,
March
I would like to know how to write VBA to attach file then send it email.
I use sendobject method as the code following this
DoCmd.SendObject acSendReport, "<reportfilename>", acFormatRTF, "<sender
email>", "", "", "TEST", "Testing", True
the code is send the email of report that I created in Access.
However, I change the format of the file from RTF to PDF, that means I need
to attach the PDF in my email.
I don't know that how can I correct the code above or any other methods that
I need to use.
Please give me suggestion.
Thank you,
March