D
dwalsh77
I have a table with a number of companies, each of which have a EmailAddress
field. I have a report that when previewed, automatically sends the report as
an attachment to a email recipient. At this moment, I have a macro set to
execute the SendObject action which send the report in HTML format (for
example), and automatically inserts a standard Subject, CC, BCC, etc. At this
moment, the user who is sending the report has to fill in the email address
in the TO Box, BUT, I would prefer to have Access find the email address from
the table and automatically insert it into the TO field for me.
Under the SendObject action of the macro, in the TO option, I have been
leaving it blank, and then have tried things like =[Companies.EmailAddress]
and so on, but nothing works.
Any suggestions?
field. I have a report that when previewed, automatically sends the report as
an attachment to a email recipient. At this moment, I have a macro set to
execute the SendObject action which send the report in HTML format (for
example), and automatically inserts a standard Subject, CC, BCC, etc. At this
moment, the user who is sending the report has to fill in the email address
in the TO Box, BUT, I would prefer to have Access find the email address from
the table and automatically insert it into the TO field for me.
Under the SendObject action of the macro, in the TO option, I have been
leaving it blank, and then have tried things like =[Companies.EmailAddress]
and so on, but nothing works.
Any suggestions?