populate To: section of email from field on form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want use "sendto" macro to attached a report onto email , this is launched
from a form but i cannot get the macro to populate the To: section with an
email address on that form. Any ideas , i saw a simple bit of code ages ago
but cant find it now.

thx tat
 
Assuming the email address is in a text box named Email, this code should do
it:

DoCmd.SendObject acSendNoObject,,, Me.,,,"Hello", "Here's your email"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top