Macros and e-mailing

P

Pap

I am trying to send an access report as a Rich Text
Format to an e-mail address using a macro. However,
instead of hard coding the e-mail address into the macro
I want it to pick it up off the form that the macro runs
from (off a button). Can anyone help?

Thanks,
 
S

Steve Schapel

Pap,

In the "To" argument of the SendObject macro action, put the equivalent
of...
=[Forms]![NameOfForm]![NameOfEmailTextbox]
 

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

Top