Print a PDF File in VBA Code

M

Marcio

Please can you help me on printing a PDF trought Access VBA Code.

To Print a Word File I use this code and it works:
Dim WordObj As Object
Set WordObj = CreateObject("Word.Application")
WordObj.Documents.Open "C:\Imprimindo.doc"
WordObj.PrintOut Background:=False
WordObj.Quit
Set WordObj = Nothing

When I try to do this wiht the PDF the CreateObject("Adobe.Application")
statement fails saying that the activeX control is not supported.

CAn somebody help me?
 
P

Pete D.

Whole different product and complete different calls required. If you go to
the Adobe site they have great SDK (software developement kit) info but if
you want to cheat search google with, print pdf with vba . Popular question,
but not really an Access database question.
 

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