VBA event on open or on close not working

G

Guest

I am trying find an event that is executed when my powerpoint show is opened.
This is what i have tried:

Public WithEvents PPTEvent As Application

Private Sub PPTEvent_AfterPresentationOpen(ByVal Pres As Presentation)
Scroll.Value = 0
End Sub

Private Sub PPTEvent_PresentationClose(ByVal Pres As Presentation)
Scroll.Value = 0
End Sub

Private Sub PPTEvent_PresentationOpen(ByVal Pres As Presentation)
Scroll.Value = 0
End Sub

Private Sub PPTEvent_SlideShowBegin(ByVal Wn As SlideShowWindow)
Scroll.Value = 0
End Sub

Private Sub PPTEvent_SlideShowEnd(ByVal Pres As Presentation)
Scroll.Value = 0
End Sub

I have set up breakpoints for each one but they never get executed. Does
anyone know why?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top