Calling a macro in powerpoint from command line
Greetings everyone
I am trying to call a macro in PowerPoint from the command line to simplify things for my team at work.
Trying to keep it simple this is the code I am working with so far:
Set pptApp = CreateObject("PowerPoint.Application")
pptApp.Run "Presentation.pptm!UpdateLinks2Local"
I get the following error:
Row 2
Character 1
Error: Application.Run : Invalid Request. Sub or function not defined.
Code 80048240
I'm running this on Windows Vista Enterprise with Office 2010 standard 32-bit
I wouldn't know what function or sub to put there.
Please let me know if I can explain anything further.
Thanks in advance!
|