0

I have Microsoft Office PowerPoint 2007. I want to make it so that it will start a specific animation when I press the F4 key. I currently have the following:

Sub DoAnimation()

End Sub

Sub auto_open()
    Application.OnKey "{F4}","DoAnimation"
End Sub

So how would I start the animation in the DoAnimation sub?

braX
  • 11,506
  • 5
  • 20
  • 33
Dan
  • 527
  • 4
  • 16
  • OnKey is not available in PowerPoint. Also, you cannot trigger a specific animation programmatically. You could trigger the next slide or next animation by executing Slideshowwindows(1).View.Next – Shyam Pillai Mar 14 '18 at 02:48
  • Thank you very much. I think I've now found an alternative way of achieving my goal. – Dan Mar 14 '18 at 07:55

0 Answers0