MouseAvailable Property [Excel 2003 VBA Language Reference]

True if a mouse is available. Read-only Boolean.

Example

This example displays a message if a mouse isn't available.

If Application.MouseAvailable = False Then
    MsgBox "Your system does not have a mouse"
End If

Applies to | Application Object