Hi All!
How can I email a report as a PDF format? I searched and found this but I get error message.
DoCmd.SendObject acSendReport, [report name], acFormatPDF, "recipient's email", [title], [message], True
This command is attached to a button. When I click the button, it runs this code but it is not working. I do not know why. Try to debug but it says it cannot find the field in the expression.
Can someone help please?
Thank you.
How can I email a report as a PDF format? I searched and found this but I get error message.
DoCmd.SendObject acSendReport, [report name], acFormatPDF, "recipient's email", [title], [message], True
This command is attached to a button. When I click the button, it runs this code but it is not working. I do not know why. Try to debug but it says it cannot find the field in the expression.
Can someone help please?
Thank you.