Application.MouseAvailable property (Excel)

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

Syntax

expression.MouseAvailable

expression A variable that represents an Application object.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.