Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA carries an extra click when double clicked

Status
Not open for further replies.

DeeBeeGee

Programmer
Sep 28, 2004
21
GB
Have noticed that where a doubleclick event is used to unload a userform then when a subsequent form is loaded and there has been no interruption to the running of the code (such as a stop/msgbox/etc) then a click will be performed on the second form at the position of the mouse at the time of the unloading of the previous. I have circumnavigated this by repositioning the mouse cursor in the dblClick event code before the form is unloaded but would like to know what is happening and how properly to fix it. Any ideas???

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top