neotrio Posted July 19, 2006 Share Posted July 19, 2006 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#cs this is the problem area......what should i write here .........so that i could be able to put $str in the document#cesleep(4000) ;See the results for 4 seconds$word.Activedocument.Saved = 1 ; Simulate a save of the Workbook$word.Quit ----------------------------------------------------------------------------------------------------------relpy asap. Link to comment Share on other sites More sharing options...
GaryFrost Posted July 19, 2006 Share Posted July 19, 2006 you should of read the reply to your other thread on this same subjectif 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now