Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have a mouseover command on a few of my userforms to Unload the form when the cursor moves outside the form however when the mouse moves too fast it doesn't work see below for my code : Private Sub UserForm_MouseMove(ByVal Button As Integer, _ ByVal Shift As Integer, ByVal x As Single, ByVal Y As Single) If x 10 Then Else Unload Userform1 End If If x < Userform1.Width - 20 Then Else Unload Userform1 End If If Y < Userform1.Height - 20 Then Else Unload Userform1 End If End Sub Any help would be greatly appreciated. Jason |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert hard coded query criteria to Parameter Query | Excel Discussion (Misc queries) | |||
Excel 2007 / MS Query - editing existing query to another sheet | Excel Discussion (Misc queries) | |||
my mouse moves diagonally when i scroll on mouse? | Excel Worksheet Functions | |||
Mouse Wheel & Mouse Drivers | Excel Programming | |||
moving mouse highlights cells without touching left mouse button | Excel Discussion (Misc queries) |