How to automatically trigger the App Object initialization in Powerpoint ?

Posted by asksuperuser on Stack Overflow See other posts from Stack Overflow or by asksuperuser
Published on 2010-06-05T10:19:55Z Indexed on 2010/06/05 10:22 UTC
Read the original article Hit count: 124

Filed under:
|

It is said here:

http://msdn.microsoft.com/en-us/library/aa211599%28v=office.11%29.aspx

Before the procedure will run, you must connect the declared object in the class module (App in this example) with the Application object. You can do this with the following code from any module.

Dim X As New EventClassModule Sub InitializeApp() Set X.App = Application End Sub

Run the InitializeApp procedure.

Run HOW ? By hand ? I want it to automatically run when opening the powerpoint rather. Is there any way ?

© Stack Overflow or respective owner

Related posts about vba

Related posts about powerpoint