Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-24-2014, 07:28 AM
SeattleITguy SeattleITguy is offline Calling a macro in powerpoint from command line Windows Vista Calling a macro in powerpoint from command line Office 2010 32bit
Novice
Calling a macro in powerpoint from command line
 
Join Date: Nov 2014
Posts: 7
SeattleITguy is on a distinguished road
Default 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!
Reply With Quote
 

Tags
command, external, macro



Similar Threads
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
Calling a macro in powerpoint from command line Command line syntax for 2010 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

Other Forums: Access Forums

All times are GMT -7. The time now is 12:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft