Sending attachment

G

Guest

Can anyone tell me how to send an attachement using code in VBA. I am aware
of the SendObject function however I am trying to output a report to Adobe
and email it to a distribution list. I can't seem to get it right.
 
R

Rick Brandt

SC said:
Can anyone tell me how to send an attachement using code in VBA. I am aware
of the SendObject function however I am trying to output a report to Adobe
and email it to a distribution list. I can't seem to get it right.

You cannot include an attachment from the file system with SendObject. You
would have to automate an external messaging library like Outlook or CDO. If
you google these groups you should find many examples.
 
G

Guest

Thanks Rick

Rick Brandt said:
You cannot include an attachment from the file system with SendObject. You
would have to automate an external messaging library like Outlook or CDO. If
you google these groups you should find many examples.
 

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