Jump to content
Sign in to follow this  

word object !

Recommended Posts

hi all,

i have been trying to insert text in word.

Could any body help me.

the code so far i have written as follows:-


$str = "hello"

$word = ObjCreate("word.Application") ; Create an Word Object

$word.Visible = 1

$word.Documents.Add ; Let Word show itself


this is the problem area......

what should i write here .........so that i could be able to put $str in the document#ce

sleep(4000) ;See the results for 4 seconds

$word.Activedocument.Saved = 1 ; Simulate a save of the Workbook



relpy asap.

Share this post

Link to post
Share on other sites

you should of read the reply to your other thread on this same subject

if you needed more help, just add a reply to a thread that you alread had started on the subject.

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


Share this post

Link to post
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
Sign in to follow this  

  • Create New...