Upravit

Sdílet prostřednictvím


Application.MouseAvailable property (Word)

True if there is a mouse available for the system. Read-only Boolean.

Syntax

expression. MouseAvailable

expression An expression that returns an Application object.

Example

This example displays a message that no mouse is available.

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

See also

Application Object

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.