itsgoodtobeking
Programmer
I am treading in new water here. I need to be able to print a .pdf file automatically from MS Access VBA. I got the file to open and can view it, now I need some pointers on how to get this to print. Can anyone help me??
This is how I got the file to open. Where fName is the name of the file I am opening.
wbName = "C:\PMs\" & fName & ".pdf"
appName = "C:\Program Files\Adobe\Acrobat5.\Acrobat\Acrobat.exe"
whole = appName & " " & wbName
Call Shell(whole, vbMaximizedFocus)
Any suggestions would be greatly appreciated.
This is how I got the file to open. Where fName is the name of the file I am opening.
wbName = "C:\PMs\" & fName & ".pdf"
appName = "C:\Program Files\Adobe\Acrobat5.\Acrobat\Acrobat.exe"
whole = appName & " " & wbName
Call Shell(whole, vbMaximizedFocus)
Any suggestions would be greatly appreciated.