Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Late binding error

1 view
Skip to first unread message

Maciej Franciszkowski

unread,
Dec 10, 2010, 1:11:54 PM12/10/10
to

hello, for below code I get LateBinding error
It surely wrong syntax, but what is right one.
Need help!

accObj = GetObject(, "Access.Application")

' Turn off error handling
On Error GoTo 0

' You can now use the accObj reference to automate
Access

accObj.DoCmd.SendObject(, "rptDoDost",
"PDFFormat(*.pdf)", "infolo...@company.pl", , , "Test", "TestMsg",
True, "")

0 new messages