Monday 2 April 2012

Create and type words in doc

set objword=createobject("word.application")
objword.document.add
objword.selection.typetext "hi hello"
objword.activedocument.saveas"C:\Test.doc"

No comments:

Post a Comment