How to detect a mouse_down on a Userform Frame while the mouse is still down
I want to detect when there's a mouse_down on any Frame on the Form while the mouse is still down. I know how to do it for a Click, but I want to catch it before mouse_up. Thanks You can create a _MouseDown event handler for each frame on the form, or if you have many frames you can create a generic event handler class Create a Class module (eg named cUserFormEvents ) Public WithEvents Frme As MSForms.frame Public frm As UserForm Private Sub Frme_MouseDown( _ ByVal Button As Integer, _ ByVal Shift As Integer, _ ByVal X As Single, _ ByVal Y As Single) ' Put your event code here MsgBox Frme