sarun108
Technical User
- Jul 27, 2008
- 5
Hi
ACCPAC 5.2:
I am trying to set up a macro that can email the results in pdf format. I can run the report but it asks for a destination email. How can I pass it?
Here is a code snippet:
rpt.Destination = PD_EMAIL
rpt.Format = PF_PDF
rpt.OutputDestination = OD_CLIENT
rpt.PrintDir = "c:\temp\"
rpt.PrintReport
Any ideas on how this can be done
ACCPAC 5.2:
I am trying to set up a macro that can email the results in pdf format. I can run the report but it asks for a destination email. How can I pass it?
Here is a code snippet:
rpt.Destination = PD_EMAIL
rpt.Format = PF_PDF
rpt.OutputDestination = OD_CLIENT
rpt.PrintDir = "c:\temp\"
rpt.PrintReport
Any ideas on how this can be done