MAPIAvailable Property

Microsoft Word Visual Basic

MAPIAvailable Property

       

True if MAPI is installed. Read-only Boolean.

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