Sendobject

S

Snurre

Hi..

I use this code and it works great. However, it works only
once. To be a able to send a new mail I have to close and
open the Access databse.. How is ir possible to send e-
mail several times without restarting?

DoCmd.SendObject acSendQuery, "rwExcelrom", acFormatXLS, _
"(e-mail address removed)", , , "Subject", "Message", True


Regards
Snurre
 

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