itsgoodtobeking
Programmer
I have successfully been able to open a .pdf file in MS Access VBA. Can anyone now tell me how to have the code print the file? Here is how I access the .pdf
wbName = "C:\PMs\" & fName & ".pdf"
appName = "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"
whole = appName & " " & wbName
Call Shell(whole, vbMaximizedFocus)
wbName = "C:\PMs\" & fName & ".pdf"
appName = "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"
whole = appName & " " & wbName
Call Shell(whole, vbMaximizedFocus)