Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autoexec in Powerpoint

Status
Not open for further replies.

hermanlaksko

Programmer
Aug 26, 2001
941
DK
Being an access programmer for many years I am now fiddling a little with powerpoint.
I can not find an autoexec that will start my code for this pp app, can anyone shed some light on this, thx in advance.

Herman
 
I think you'll have to write an event handler to respond to one of the application events.

Look under:
Microsoft PowerPoint Visual Basic Reference->
Microsoft PowerPoint Visual Basic Reference->(yes it's like that in the help file)
Events->

You'll probably want to use the - NewPresentation Event.

Here are the rest of the events:

PresentationClose Event
PresentationNewSlide Event
PresentationOpen Event
PresentationPrint Event
PresentationSave Event
SlideShowBegin Event
SlideShowEnd Event
SlideShowNextBuild Event
SlideShowNextSlide Event
WindowActivate Event
WindowBeforeDoubleClick Event
WindowBeforeRightClick Event
WindowDeactivate Event
WindowSelectionChange Event

These events are in PPT 2000, so there are probably newer and/or dropped ones in the newest version

You'll also want to read: Using Events with the Application Object

If you can't get the functionality you want with these events, you can instance PPT from another app(Access!) and manipulate it that way.

Darrell










'We all must do the hard bits so when we get bit we know where to bite' :)
 
Hi Darrell

I allready had a look there so I know that one can use events, but how do I trigger them?
Mayby I am thinking in the wrong track and this is why I can get this to work, you know in access I have a 1000 ways to trigger an event but in PP I can not find thise, am I looking under the wrong stone ?

Thx
Herman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top