G
Guest
All,
I'm working on vbscript (run using windows script host), and I'd like to be
able to call a macro in the Powerpoint document.
There's a property of the Presentation object named VBProject, but I can't
find any documentation on the VBProject object.
So, if I was using this:
Set oApp = CreateObject("Powerpoint.Application")
Set oPres = oApp.Presentations.Open("pres.ppt")
How would I call a macro in "pres.ppt" named SomeMacro?
I've tried:
oPres.VBProject.SomeMacro, but that doesn't work.
Any help or guidance is greatly appreciated!
Cheers,
Matt Stuehler
I'm working on vbscript (run using windows script host), and I'd like to be
able to call a macro in the Powerpoint document.
There's a property of the Presentation object named VBProject, but I can't
find any documentation on the VBProject object.
So, if I was using this:
Set oApp = CreateObject("Powerpoint.Application")
Set oPres = oApp.Presentations.Open("pres.ppt")
How would I call a macro in "pres.ppt" named SomeMacro?
I've tried:
oPres.VBProject.SomeMacro, but that doesn't work.
Any help or guidance is greatly appreciated!
Cheers,
Matt Stuehler