Search code examples
excelpowerpointpowerpoint-2007

Is there an equivalent Workbook_Open Event in Powerpoint VBA


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?


Solution

  • It appears that there is a XML option