Autoload Property

Applies To

AddIn object.

Description

True if the specified add-in is automatically loaded when Word is started. Add-ins located in the Startup folder in the Word program folder are automatically loaded. Read-only Boolean.

See Also

AddIns property, Installed 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