Loaded Property Example

This example adds MyTools.ppa to the list in the Add-Ins dialog box (Tools menu) and then loads it.

Addins.Add("c:\my documents\mytools.ppa").Loaded = True

This example unloads the add-in named "MyTools."

Application.Addins("mytools").Loaded = False