Send report as pdf

ChristopherL

Registered User.
Local time
Today, 12:12
Joined
Jul 2, 2013
Messages
90
Hi there, I want to sent out my report as a pdf file with my macro..
I've been trying to use the VBA

Code:
Option Compare Database

Sub Fix1()
DoCmd.SendObject acSendReport, "MarketRiskControl_HighestDiffs_AsOfCurrentDate", "PDFFormat(*.pdf)", "my mail@mail", "cc", , "SD Counterparty Report as of Current Date", "Regards, Trading Risk Control", False
End Sub
But this doesn't work, get run-time error 2282..

I am using access 02, anyone have solution for this?
 

Users who are viewing this thread

Back
Top Bottom