VB Command to Import a File into MSGraph?

  • Thread starter Thread starter Vik Rubenfeld
  • Start date Start date
V

Vik Rubenfeld

MSGraph has an Import File menu command. Is there a VB command to import
a file into MSGraph? Thanks in advance to all for any info.

-Vik
 
Not as such; you'd have to use VB/VBA to automate graph, assuming that Graph
exposes an import method of some kind.

There are some handy links here:

Automating MSGraph
http://www.rdpslides.com/pptfaq/FAQ00496.htm

Thanks!

On this line:

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?

-Vik
 
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)
 
Back
Top