Dear,
I want to record the movement of the scrolling wheel of my mouse.
I've tried al lot with the mouse_event but thill now nothing is working. PlS help
I want to record the movement of the scrolling wheel of my mouse.
Code:
Private mlngStart As Long
Private Declare Function GetTickCount Lib "kernel32" () As Long
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Public Sub StartTimer()
mlngStart = GetTickCount
End Sub
Public Function EndTimer() As Long
EndTimer = (GetTickCount - mlngStart)
End Function
Public Sub Data1()
StartTimer
For Loop1 = 1 To 1000
Blad1.Range("A" & Loop1).Formula = EndTimer / 1000
Blad1.Range("B" & Loop1).Formula = [U][I][B]THE MOVEMENT OF THE SCROLL WHEEL[/B][/I][/U]
Sleep (10)
Next Loop1
End Sub
I've tried al lot with the mouse_event but thill now nothing is working. PlS help
Last edited: