I'm trying to write a code with no experience of writing code following a You Tube video to send emails via Access and Outlook. I have the below code but keep getting the error code Expected: line number or label or statment or end of statment when I write in the second line. I basically want it to look like this
To User123
You have entered the below form on 03/11/2023
(details of entry)
Msg = "To " & AddedBy & ",<P>"
"You have entered the below form on " & TransactionDate & ",<P>"
Thank you!