AllowClickAndTypeMouse Property Example

This example checks to determine whether Click and Type functionality is enabled. If it isn't enabled, the example sets this functionality based on the user's choice.

If Options.AllowClickAndTypeMouse = False Then
    x = MsgBox("Do you want to use Click and Type?", _
        vbYesNo)
    If x = vbYes Then
        Options.AllowClickAndTypeMouse = True
        MsgBox "Click and Type enabled!"
    End If
End If