Installed Property 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"