Jump to content
Sign in to follow this  

Automating PowerPoint

Recommended Posts


Is there any documentation of using COM with PowerPoint? I have searched the forums and its a topic that is not really discussed.

This works:

$OBJ = objCreate("PowerPoint.Application")oÝ÷ Ù8b±Ú²z-Âäjëh×6$OBJ = objCreate("PowerPoint.Presentation")

I can get this working in VB, is it that PowerPoint.Presentation isn't registered? Whats going on? Anyone have experienced this?

Is there no way around this, should I create an activex wrapper in VB to use in AutoIt? Or has this already been done before?


A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding

Share this post

Link to post
Share on other sites


$obj = ObjCreate("PowerPoint.Application")
$obj.Visible = True
$colPresentations = $obj.Presentations
$presentation = $colPresentations.Add(True)
If IsObj($presentation) Then MsgBox(0, "", "Made a new presentation.")

IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

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