Installed Property Example

This example uses a message box to display the installation status of the Solver add-in.

Set a = AddIns("Solver Add-In")
If a.Installed = True Then
    MsgBox "The Solver add-in is installed"
Else
    MsgBox "The Solver add-in is not installed"
End If