Ummm...the macros must be named Auto_Open and Auto_Close,
Done.
the file has to be loaded as an add-in,
Done.
and when loaded for the first time, you must select the 'enable macros'
button in the dialog box displayed by PP.
And Done.
So what else? When I open my PPT it asks about the Macros and I click
the "Enable Macros". I can verify that the add-in is listed and checked
in the Tools/Add-ins. The sample code supplied by the author shows up
in Module1 in the VBA Editor.
I can select "Run" from the VB Editor or PowerPoint Toolbar and then
chose one of the "Macro names" and it will run the code and popup the
MessageBox.
I am using PowerPoint 2002 and Windows XP. Does anyone know what else I
am missing? I'd really like to get this to work and have it stay
working.
Thanks...
E. Cox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'Some of the authors code....
Sub Auto_ShowBegin()
MsgBox "It's show time folks!!"
End Sub
Sub Auto_ShowEnd()
MsgBox "The show has ended!!"
End Sub
Sub Auto_open()
MsgBox "You just opened the presentation."
End Sub