AddIn.Autoload property (Word)

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.

Syntax

expression. Autoload

expression A variable that represents a 'AddIn' object.

Example

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

Dim addinLoop as AddIn 
Dim blnFound as Boolean 
 
blnFound = False 
 
For Each addinLoop In AddIns 
 With addinLoop 
 If .Autoload = True Then 
 MsgBox .Name 
 blnFound = True 
 End If 
 End With 
Next addinLoop 
 
If blnFound <> True Then _ 
 MsgBox "No add-ins were loaded automatically."

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

Dim addinLoop as AddIn 
 
For Each addinLoop In AddIns 
 If InStr(LCase$(addinLoop.Name), "gallery.dot") > 0 Then 
 If addinLoop.Autoload = True Then Msgbox "Autoload" 
 End If 
Next addinLoop

See also

AddIn Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.