Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to have .pdf file print automatically

Status
Not open for further replies.

itsgoodtobeking

Programmer
Jun 5, 2003
54
US
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top