Jump to content

is there a way to?


Recommended Posts

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)
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...