auto run macro with even handler?

T

theintern

I know, I know, you can't auto run anything from powerpoint...easily. So i
created a macro with a Sub Auto_Open, but when i open the slideshow, nothing
happens. it's supposed to add pictures to the show. is it possible it's
trying to do this before the slides are even loaded all the way, so nothing
is showing up? if i click on the icon for add-in after it's loaded, it works
great. I've also been reading about event handlers, but really don't know
what they are. if someone can just tell me what to type in to get this thing
to fire that'd be great. Even if it's after an intro slide or something. it
just has to be automatic. no clicking, etc...I'm on PowerPoint 2007.

thanks
scott
 
T

theintern

So the Auto_Open add-in macro thing is supposed to run the EventHandler? so
does all my code of what i want it to do (insert object, display, etc.) go in
the EventHandler? if so, how do i call that from the Auto_Open macro?

thanks
scott
 
T

theintern

k, that makes sense. so the Auto_Open acts as a switch to activate the Event
Handler to begin looking for a designated specific event. And when that
event happens it launches the other subs in the same module? I'm having a
little trouble creating the handler. i'm at
http://www.pptfaq.com/FAQ00004.htm and i get lost at step 5 with the demo.
what is it doing? i click on the button and it says it's activated and then
does nothing. i'm a little confused what i'm supposed to be getting from
that. those are the right steps to create the handler though? and by class,
he means class module right?

thanks
scott
 
T

theintern

thanks for the idea. the problem is that i need the macro to run whenever
the application is opened, on it's own. which means i have to use add-ins
and handlers and it gets more complicated than i think that website has on
it. unless i'm missing something...
 

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