AutoLoad Property Example

This example displays the name of each add-in that's automatically loaded each time PowerPoint is started.

For Each myAddIn In AddIns
    If myAddIn.AutoLoad Then
        MsgBox myAddIn.Name
        afound = True
    End If
Next myAddIn
If afound <> True Then 
    MsgBox "No add-ins were loaded automatically."

This example specifies that the add-in named "MyTools" be loaded automatically each time PowerPoint is started.

Application.AddIns("mytools").AutoLoad = True