Loaded Property

Microsoft PowerPoint Visual Basic

Loaded Property

       

Determines whether the specified add-in is loaded. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue The specified add-in is loaded. In the Add-Ins dialog box (Tools menu), the check boxes next to loaded add-ins are selected. 

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 = msoTrue

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

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