darzanmihai Posted September 21, 2008 Posted September 21, 2008 Is there an UDF that can add text and pictures to Word(not links)?I sow that the WordUDF allows only to add only links..... I do not like stupid and idiot people that write idiot things...If you are one, do not write.
Bowmore Posted September 21, 2008 Posted September 21, 2008 Is there an UDF that can add text and pictures to Word(not links)?I sow that the WordUDF allows only to add only links.....If you look at the help for the _WordCreate() function in word.au3 example 4 shows how to add text to a word document. ; *******************************************************; Example 4 - Create an invisible word window, open a document,; append some text, and quit saving changes.; *******************************************************;#include <Word.au3>$oWordApp = _WordCreate (@ScriptDir & "\Test.doc", 0, 0)$oDoc = _WordDocGetCollection ($oWordApp, 0)$oDoc.Range.insertAfter ("This is some text to insert.")_WordQuit ($oWordApp, -1) "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook
darzanmihai Posted September 22, 2008 Author Posted September 22, 2008 If you look at the help for the _WordCreate() function in word.au3 example 4 shows how to add text to a word document.But how could I set the text to be centered or written in Bold, Underline or Italic? I do not like stupid and idiot people that write idiot things...If you are one, do not write.
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