MouseAvailable Property

Applies To

Application object.

Description

True if there's a mouse available for the system (always True on the Macintosh). Read-only Boolean.

Example

This example displays a message if there's not a mouse available.

If Application.MouseAvailable = False Then
    Msgbox "Make sure your mouse is plugged in."
Else
    Msgbox "Mouse is available"
End If