i want to use the word application com
how can i get its methods?
thnaks in advance
Peleg
Printable View
i want to use the word application com
how can i get its methods?
thnaks in advance
Peleg
In what programming lang?
if it's VB then it's simple, just add an reference to your project to the word object and :
Code:
Dim wrdApp as word.application
set wrdApp = createobject("word.application")
wrdApp.whateveryouwant
set wrdApp = nothing
yes i know it's not the most beutifull code ;-)
Add a reference to:Quote:
Originally Posted by pelegk2
Then in the IDE, hit F2. You can then select the WORD library and check it out:Code:C:\Program Files\Microsoft Office\OFFICE11\MSWORD.OLB
first thanks alot good to know:)
second : how can i or when can i read about each one of the methods or propertis that i read?
thnaks in advance
peleg
Buy this book:
http://www.oreilly.com/catalog/write...cro/index.html
I have done a fair bit of programming with the Word object library. One thing that I do a lot of is to use the macro recorder to generate code and then paste the code into the stuff you are doing. You can parameterize all of the hard references that the maro recorder will make.
Also, really get to know the .range object. It is the key.