G
Guest
I am displaying an email address on a form and want to use that to email
direct from my code. I am using the previously recommended code but am unsure
how to reference my field name in code. It can't be this simple surely.
....
With objEmail
.To = "me.[SalesEmail]"
.Subject = "Look at this sample attachment"
.body = "The body doesn't matter, just the attachment"
.attachments.Add "c:\Path\to\the\next\file.txt"
.Send
.ReadReceiptRequested
End With
direct from my code. I am using the previously recommended code but am unsure
how to reference my field name in code. It can't be this simple surely.
....
With objEmail
.To = "me.[SalesEmail]"
.Subject = "Look at this sample attachment"
.body = "The body doesn't matter, just the attachment"
.attachments.Add "c:\Path\to\the\next\file.txt"
.Send
.ReadReceiptRequested
End With