Question

Basically, I am trying to run some VBA code as soon as the powerpoint file is opened in windows. I don't want to run it when the presentation is started, but I guess that would be an alternative. I'm not too sure how to do that either.

In Excel I would use this:

Private Sub Workbook_Open()
    'Do something here
End Sub

Does anyone know the alternative for Powerpoint 2007 without using an add-in?

Was it helpful?

Solution

It appears that there is a XML option

OTHER TIPS

You can also use the deprecated "Auto_Open" method, however its not recommended:

Public Sub Auto_Open()

End Sub
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top