A
Adam
Does Power Point 2003 recognize AutoExec in VBA?
I am new to VBA and OOP (but did a bit of sequential
programing). I am not sure if I am having a problem with
VBA or with Power Point. I have an application object
defined in a Class1 module with events, say:
Public WithEvents App as Application
I have a subroutine doing things I wanted to do in a
different module, say
Private Sub App_SlideShowNextSlide(ByVal Wn As
SlideShowWindow)
some code here, tested, works
End Sub
Then, I tried to instantiate by:
Dim X as New Class1
Sub AutoExec()
Set X.App = Application
End Sub
I wanted my code to work behind the scene during slide
show and react to every slide change. It doesn't work.
Am I abusing VBA or PowerPoint or both?
Adam
I am new to VBA and OOP (but did a bit of sequential
programing). I am not sure if I am having a problem with
VBA or with Power Point. I have an application object
defined in a Class1 module with events, say:
Public WithEvents App as Application
I have a subroutine doing things I wanted to do in a
different module, say
Private Sub App_SlideShowNextSlide(ByVal Wn As
SlideShowWindow)
some code here, tested, works
End Sub
Then, I tried to instantiate by:
Dim X as New Class1
Sub AutoExec()
Set X.App = Application
End Sub
I wanted my code to work behind the scene during slide
show and react to every slide change. It doesn't work.
Am I abusing VBA or PowerPoint or both?
Adam