Access VB Code to print several PDF documents - TechRepublic
General discussion
October 29, 2009 at 12:46 PM
webson

Access VB Code to print several PDF documents

by webson . Updated 16 years, 8 months ago

Help me please! I need to print several PDF files using VBAccess (Version 2000). I’m using the code below but does not print and no error occurs.

Dim aPDF As AcroPDF, cFile as string
Set aPDF = New AcroPDF
cFile = “c:\temp\guia rapido.pdf”
aPDF.LoadFile (cFile)
aPDF.printAll

* Reference: Adobe Acrobat Browser Control Type Library 1.0

This discussion is locked

All Comments