Link to home
Start Free TrialLog in
Avatar of toutam
toutam

asked on

How to Send Data Reports as an attachment in Visual Basic

Hi All

Is there a single simple command in VB that compares to SendObject in VBA?
I have to automatically send an email from my application. I have been
using the following in VBA:

DoCmd.SendObject acSendReport, ObjectName:=stDocNameA, outputformat:=acFormatRTF, To:=toText, Subject:=FileName

Plz help me, its urgent
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Dbergert
Dbergert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of toutam
toutam

ASKER

Thanks for your help !

I was wondering is there any was thats more simple than that, like what we have in VBA
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial