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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a word document from access

Status
Not open for further replies.

ronmon

IS-IT--Management
Feb 25, 2002
66
IE
I want to print a word document from an access form without opening up word is this possible? and could i get the code
 
Code:
Shell "C:\Program Files\Microsoft Office\Office\Winword.exe -p " _
  & inputbox("Please enter the full location and name " _
  & "of the Word Document you wish to print." & vbcrlf & vblf _
  & "e.g.    Drive:\Path\Filename", _
  "Print Word Document...","c:\temp\myfile.doc"), _
  vbHide
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top