Hi
I am trying to turn the mouse wheel off in access 2003 on my forms. The code I have is below, but it doesn't work - Compile Error - Sub or Function not defined
Thanks for any help I can get
Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
' Turn the MouseWheel Off
Dim blRet As Boolean
' Call our MouseHook function in the MouseHook dll.
' Please note the Optional GlobalHook BOOLEAN parameter
' Several developers asked for the MouseHook to be able to work with
' multiple instances of Access. In order to accomodate this request I
' have modified the function to allow the caller to
' specify a thread specific(this current instance of Access only) or
' a global(all applications) MouseWheel Hook.
' Only use the GlobalHook if you will be running multiple instances of Access!
blRet = MouseWheelOFF(False)
End Sub