MouseAvailable Property
TOC
Collapse the table of content
Expand the table of content

Application.MouseAvailable Property (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .MouseAvailable

expression A variable that represents an Application object.

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
Show:
© 2016 Microsoft