Share via


AddIn.Loaded Property

PowerPoint Developer Reference

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

Syntax

expression.Loaded

expression   A variable that represents an AddIn object.

Return Value
MsoTriState

Remarks

The value of the Loaded property can be one of these MsoTriState constants.

Constant Description
msoFalse TThe specified add-in is not loaded.
msoTrue The specified add-in is loaded.

Example

This example adds MyTools.ppa to the list in the Add-Ins tab and then loads it.

Visual Basic for Applications
  Addins.Add("c:\my documents\mytools.ppa").Loaded = msoTrue

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

Visual Basic for Applications
  Application.Addins("mytools").Loaded = msoFalse

See Also