Autoload Property Example

This example displays the name of each add-in that is automatically loaded when Word is started.

For Each myAddin In Addins
    If myAddin.Autoload = True Then 
        MsgBox myAddin.Name
        afound = True
    End If
Next myAddin
If afound <> True Then _
    MsgBox "No add-ins were loaded automatically."

This example determines whether the add-in named "Gallery.dot" was automatically loaded.

For Each aAddin In Addins
    If InStr(LCase$(aAddin.Name), "gallery.dot") > 0 Then
        If aAddin.Autoload = True Then Msgbox "Autoload"
    End If
Next aAddin