I'm using the following code...
DoCmd.SendObject acSendReport, "BRODS", acFormatPDF, 'to@email.com', "cc@email.com", "bcc@email.com", "Subject", "Body Text", True
It works fine but how can I make the to@email.com be a field value from my form. Say [custemail]
Thanks...
DoCmd.SendObject acSendReport, "BRODS", acFormatPDF, 'to@email.com', "cc@email.com", "bcc@email.com", "Subject", "Body Text", True
It works fine but how can I make the to@email.com be a field value from my form. Say [custemail]
Thanks...