Demonstration script that opens and prints and existing Microsoft Word document.
Set word = CreateObject( "Word.Application" )
Set doc = word.Documents.Open( "c:\documents\report.doc" )
doc.PrintOut()
word.Quit
Posted in MS-Word
Demonstration script that opens and prints and existing Microsoft Word document.
Set word = CreateObject( "Word.Application" )
Set doc = word.Documents.Open( "c:\documents\report.doc" )
doc.PrintOut()
word.Quit
Posted in MS-Word
You must be logged in to post a comment.
April 30th, 2008 at 10:59 am
while running the qtp scripts in server machine thru remote desktop machine tool. tool is not identifying the objects properly. any body have any idea on this