![]() |
|
#1
|
|||
|
|||
![]()
I found a working solution of calling a macro from VBScript.
Here is the code that does what I need. Which is to open the PPT file and perform the macro. I don't get prompted to update links. Unfortunately PPT must open to perform the macro but I'll just have the macro close PPT once it's finished or have it call on another macro to close it. Code:
Set oApp = CreateObject("Powerpoint.Application") Set oPres = oApp.Presentations.Open("D:\Users\JustinBryant\Project_Organigram_24.11.14.pptm") Set oSlide = oPres.Slides(1).Duplicate oApp.Run "UpdateLinks2Local" I am open to any suggestions or ideas if anyone has any. http://help.lockergnome.com/office/c...ict469171.html Thank you for your responses JohnWilson! |
![]() |
Tags |
command, external, macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
From the command line, how do I run a Word macro? | jdockstader | Word | 7 | 02-04-2013 06:09 AM |
![]() |
asearle | Word | 1 | 08-07-2012 05:42 AM |
Invoking a command line from inside Word | bolpom | Word | 1 | 03-16-2011 03:03 AM |
Command Line Argument | xJediDadx | Outlook | 1 | 02-21-2011 03:47 PM |
Command Line Switches | Ringmaster | Office | 0 | 08-10-2010 06:27 AM |