Hi there again!
I have a userform with many textboxes (105) that currently when I enter one or two numbers and press "Enter" a generic procedure is run via the "KeyDown" event, manipulating the numbers entered. The problem I am having and am not sure how to fix is; if the user mouse clicks on another textbox without hitting "Enter", the focus changes to the new textbox without firing the "KeyDown" event from the previous textbox. Currently I am using a "KeyDown" event only to trigger my procedure.
How can I make better use of the events by picking up both the "EnterDown" and the left mouse click.
Here is a sample of my code:
![]()
Please Login or Register to view this content.
Thanks Craig
Bookmarks