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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerPoint Application Event

Status
Not open for further replies.

EndoMan

Technical User
Feb 14, 2002
13
US
I am trying to develop a PowerPoint 2000 Add-in (.ppa) that will automatically insert an object (text box) into the Slide Master whenever a new presentation is created. Using the on-line PowerPoint VB help ("Using Events with the Application Object") I have been able to get the Application Event "NewPresentation" to accomplish the desired task after I "manually" run the "InitializeApp" macro. However, I can't figure out how to declare the "App" object in the class module automatically when the Add-In loads (the "InitializeApp" sub in the example). Word and Excel have the "Open" and "New" Events in the object modules which run automatically on the events. PowerPoint does not, however, seem to have such events.

Any ideas on how I can declare the "App" object automatically so that the NewPresentation event will run properly?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top