When running a program with this output statement:
DoCmd.SendObject acSendReport, "strObjectName", "PDF Format (*.pdf)", rs("strEVPOEmail"), "", "", "May Scorecard", "Attached is your May 2017 Scorecard. Please call with any questions. Thank you.", False
I receive a compile error: Sub or Function not defined. I'm using Access 2013. Do you see a problem with this function syntax? The compile error highlights [highlight yellow]rs[/highlight]
Thank you in advance. I don't want to be emailing 96 Scorecards each month, and really appreciate any help you can offer.
DoCmd.SendObject acSendReport, "strObjectName", "PDF Format (*.pdf)", rs("strEVPOEmail"), "", "", "May Scorecard", "Attached is your May 2017 Scorecard. Please call with any questions. Thank you.", False
I receive a compile error: Sub or Function not defined. I'm using Access 2013. Do you see a problem with this function syntax? The compile error highlights [highlight yellow]rs[/highlight]

Thank you in advance. I don't want to be emailing 96 Scorecards each month, and really appreciate any help you can offer.