VBA and Powerpoint

K

Ken

Is there a VBA command similar to "form_load" that will allow me to
run a VBA program when a POWERPOINT slide show begins. How about a
"Form_Unload" when I stop running the slide show
 
K

Ken

Thanks for you help. it seems to me this is rather lame since what is
happening is you are "running a program in background" to monitor
these events as opposed to these events actually inherently triggering
something. The problem with this is it requires me to start the slide
show, click to start the event processor then exit the slideshow and
then restart the slideshow to trigger the startup event.

Maybe it is me but would it be easier to start the slide show and then
just click and start the startup event? I assume there is no way
around this.
 
S

Steve Rindsberg

Thanks for you help. it seems to me this is rather lame

You'll have to tell MS about that. This is what they give us to work with.
since what is
happening is you are "running a program in background" to monitor
these events as opposed to these events actually inherently triggering
something. The problem with this is it requires me to start the slide
show, click to start the event processor then exit the slideshow and
then restart the slideshow to trigger the startup event.

Not really, at least not as I understand it; it's more like telling PPT "Hook
into events. When EventA triggers, run this code". The code's not running in
any sort of loop, if that's what you're concerned about.

As far as how it'd work in a slide show, I think you're misunderstanding how
event trapping in PowerPoint works. The event trap code is in an addin that
automatically loads when PPT starts up.

There's no need for any user interaction.
 

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