Dim oPPTApp As PowerPoint.Application
...I'm getting the error, "User defined type not defined." I'm using
PowerPoint for Mac (there's a Mac PowerPoint newsgroup, but it's very
slow) - is this data type not available yet on the Mac side?
As I mentioned over there, it's not enough to mention "Mac" - there are
three different versions of PowerPoint and two very different operating
systems in common use on the Mac. Under Mac OS X with PPT 2001 running in
Classic (hah, there's ANOTHER variable for ya) that line compiles.
But if you're automating Graph from within PPT, why would you need it?
If you're automating PPT from some other app, you'd need to set a reference
to PowerPoint (Tools, References, put a check next to MS PowerPoint Object
Library)