MAPIAvailable Property

Microsoft Word Visual Basic

expression.MAPIAvailable

expression    Required. An expression that returns an Application object.

Example

This example displays a message if MAPI is installed.

If Application.MAPIAvailable = True Then
    MsgBox "MAPI is available"
End If