Jump to content

Recommended Posts

Posted

im trying to make a program that will make a word document..

my problem is i can not make the program go to the next line...

it just keeps putting all the information on the same line.

$oWordApp = _WordCreate (@ScriptDir & "\print.doc",0,0)
$oDoc = _WordDocGetCollection ($oWordApp,1)
$oDoc.Range.insertAfter("Number:  12" )
$oDoc.Range.insertAfter("Number2:  33")
_WordDocSave ($oDoc)
_WordQuit ($oWordApp)
Posted (edited)

ty for the info i will try it later on

edit: it worked perfectly! thanx guys so much

Edited by Golbez

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...