Print a PDF File in VBA Code

  • Thread starter Thread starter Marcio
  • Start date Start date
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?
 
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.
 
Back
Top