Jump to content

H3lp needed regardin' cmd "ClipPut" , "FileWrite" and Word doc


Recommended Posts

Is it posssibl3..??

; *******************************************************
; Example 1 - Open an existing word document, append some text,
;              save and quit.
; *******************************************************
;
#include <Word.au3>
$oWordApp = _WordCreate (@ScriptDir & "\Test.doc")
$oDoc = _WordDocGetCollection ($oWordApp, 0)
$oDoc.Range.insertAfter ("This is some text to insert.")
_WordDocSave ($oDoc)
_WordQuit ($oWordApp)

ClipGet will also help :D I'll let you work out how.

Link to comment
Share on other sites

; *******************************************************
; Example 1 - Open an existing word document, append some text,
;              save and quit.
; *******************************************************
;
#include <Word.au3>
$oWordApp = _WordCreate (@ScriptDir & "\Test.doc")
$oDoc = _WordDocGetCollection ($oWordApp, 0)
$oDoc.Range.insertAfter ("This is some text to insert.")
_WordDocSave ($oDoc)
_WordQuit ($oWordApp)

ClipGet will also help :P I'll let you work out how.

Thank you Bert...!! :D

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...