PowerPoint and VBA

B

Bit Twiddler

Is there a method (like "AutoExec" in Word) that I can use to execute VBA
code (or .NET code for that matter) when a PowerPoint presentation loads?

I would like to run code when a user double-clicks a ppt (or if he/she opens
the ppt from within PowerPoint).

Thanks,
BT
 
S

Steve Rindsberg

Is there a method (like "AutoExec" in Word) that I can use to execute VBA
code (or .NET code for that matter) when a PowerPoint presentation loads?

I would like to run code when a user double-clicks a ppt (or if he/she opens
the ppt from within PowerPoint).

PowerPoint doesn't have this feature.

However, an installed addin can respond to events like Presentation Open.
If you can ensure that the user installs your addin, you can accomplish much
the same thing.

Make PPT respond to events
http://www.rdpslides.com/pptfaq/FAQ00004.htm
 
Top