VBA code for printing

  reddwarfcrew 14:20 10 Jan 2004


I have some vba code running which prints a document that is not currently open. I am achieving this with the following:


Documents.Open FileName:="c:\test.doc"




I want to tidy it up a bit to help speed things along. Is there a way I can print the document without actually having to have the code to open it, then print it, then close it?


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Best phone camera 2017

Stunning new film posters by Hattie Stewart, Joe Cruz & more

iPad Pro 10.5in (2017) review

28 astuces pour profiter au mieux de votre iPhone