run executable from within a presentation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What code do I need to run an executable from an action button within a
powerpoint pesentation
 
Actually you don't need code. Right-click your object and select "Action
Settings". Click the "Run Program" dropdown and select the program you want
to run.
 
What code do I need to run an executable from an action button within a
powerpoint pesentation

What they said. Except that when use the Run action, you'll get warning
messages every time you click the thing. Ridiculous.

If you're sure using VBA will be ok, you can use

Sub RunSomething()
Call Shell("path to exe", vbNormalFocus)
End Sub
 
Thanks for your help...
Is there a way to skip the virus warning when running the executable
 
thanks for the reply.....
It's telling me however to enabel macros now!!!!!!!!

If there are macros (ie, that little bit of VBA code) in the file and you have
security set to medium, it'll ask for your permission to enable them when you
open the file. Set security to low, temporarily.
 
Back
Top