Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 11-24-2014, 09:30 AM
JohnWilson JohnWilson is offline Calling a macro in powerpoint from command line Windows 7 64bit Calling a macro in powerpoint from command line Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,914
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

I don't think the code will run in PPT if it is cl;osed.

You may be able to open the presentation in code and NOT trigger the usual link update

Sub fixme()
Dim thisPres As Presentation
Set thisPres = Presentations.Open("C:\Users\John\Documents\Presen tation1.pptm", WithWindow:=False)
With thisPres
'do whatever
End With
End Sub
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
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 09:56 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