Jump to content
Sign in to follow this  
tpek

Object variable of a Word.Application object

Recommended Posts

tpek

Hello.

I have one question.

In MS Word UDF evryone use a lot of functions from $oDoc object variable.

like this:

$oDoc.Images(0).Layout.Text

$oDoc.Sections($sec_i).Headers(1).Range

$oDoc.Sections.Count()

etc.

But where can I find full list of these functions or full structure of this object variable???

For example I want remove picture from word document.

Thanks for any help.

Edited by tpek

Share this post


Link to post
Share on other sites
Yoriz

hey,

you mean something like this ?


GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.

Share this post


Link to post
Share on other sites
tpek

Yes. Thats it. Thanks so much.

Hehe... so simple:

$oDoc.Shapes(2).Delete

Edited by tpek

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  

×