J josros60 Registered User. Local time Yesterday, 22:20 Joined Mar 10, 2011 Messages 73 May 10, 2016 #1 how can i create a vba code to send email to current record in the form with body message and cc as well. is there any sample code to start with? thanks
how can i create a vba code to send email to current record in the form with body message and cc as well. is there any sample code to start with? thanks
pbaldy Wino Moderator Staff member Local time Yesterday, 22:20 Joined Aug 30, 2003 Messages 36,157 May 10, 2016 #2 Look at SendObject, either in VBA code or a macro. It would let you put a form reference in the "To" (or other) argument.
Look at SendObject, either in VBA code or a macro. It would let you put a form reference in the "To" (or other) argument.
J josros60 Registered User. Local time Yesterday, 22:20 Joined Mar 10, 2011 Messages 73 May 10, 2016 #3 Thanks. But I am new on VBA so any sample code, please.
pbaldy Wino Moderator Staff member Local time Yesterday, 22:20 Joined Aug 30, 2003 Messages 36,157 May 10, 2016 #4 DoCmd.SendObject acSendNoObject, , , Me.TextboxName, , , "Subject", "Body", True