Automatically run a macro in powerpoint

  • Thread starter Thread starter annie
  • Start date Start date
A

annie

I tried to run a macro automatically when the ppt opens by changing the
subroutine's name to Auto_Open.But its not working.
Any help is appreciated.
 
Hi annie

Auto Open will only work in an Add In in PowerPoint *(AFAIK)

We are playing with code like this which seems to work so far but no
guarantees!

Sub OnSlideShowPageChange()
If ActivePresentation.SlideShowWindow.View.CurrentShowPosition = 1 Then
MsgBox "This is where the code goes"
End If
End Sub

There's also this
"Make code run as part of animation sequence"
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html#vba
--
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
 
Back
Top