편집

다음을 통해 공유


AddIn.Installed property (Word)

True if the specified add-in is installed (loaded). Add-ins that are loaded are selected in the Templates and Add-ins dialog box. Read/write Boolean.

Syntax

expression. Installed

expression An expression that returns an 'AddIn' object.

Remarks

Uninstalled add-ins are included in the AddIns collection. To remove a template or WLL from the AddIns collection, apply the Delete method to the AddIn object (the add-in name is removed from the Templates and Add-ins dialog box). To unload all templates and WLLs, apply the Unload method to the AddIns collection.

Example

This example unloads the global template named "Gallery.dot."

Addins("Gallery.dot").Installed = False

This example loads FindAll.wll.

Addins("C:\Templates\FindAll.wll").Installed = True

This example loads Custom.dot.

AddIns("C:\Program Files\Microsoft Office\" _ 
 & "Templates\Custom.dot").Installed = True

This example displays a message on the status bar if Dot1.dot is loaded as a global template.

If AddIns("Dot1.dot").Installed = True Then _ 
 StatusBar = "Dot1.dot is loaded"

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.