Create a form for macro data entry

B

Bassel

Hello
I have a mcaro that sends a query result as an email attachment. It is
working fine.

Is there is a possible way to allow the user to use a form to set the To and
CC fields of the Send macro without using macro design.
Thus the user will only change these two fields in the macro.

Beat reagrds
 
S

Steve Schapel

Bassel,

If you have an unbound textbox on your form, where the user can enter
the email address, then I think it will work if you set the To argument
in the macro to the equivalent of:
=[Forms]![NameOfYourForm]![NameOfTextbox]
 

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