Hi all! I've been visiting this site for quite a while now for questions about Excel and VBA, but this is the first time I have had to ask a specific question!
I'm new to VBA, but I'm learning. I recently learned how to work with user forms and had an idea for something that might be handy at the place I work.
I was wondering if I could make some sort of cell counter (organic biological cells, not excel cells) using a form with text boxes. It would look something like this:
The user will click on the text box as instructed, then look in a microscope, and then with each keystroke using the legend below, it would distribute the sum of each class to its corresponding box.
What I want is that if I, for example, press J in the text box, the text box will auto clear itself but it would record the keystroke somewhere and count it towards the total, putting the sum in real time on each of the other boxes for each group.
I can figure out how to do the sums and everything, what I'm more interested is in knowing if there is a way of auto clearing a text box after a key is pressed and keeping that value somewhere else for the final sum.
Hope this is clear enough! If not, let me know and I'll try to explain more!
Thanks so much in advance and keep up the great job!
I'm new to VBA, but I'm learning. I recently learned how to work with user forms and had an idea for something that might be handy at the place I work.
I was wondering if I could make some sort of cell counter (organic biological cells, not excel cells) using a form with text boxes. It would look something like this:

The user will click on the text box as instructed, then look in a microscope, and then with each keystroke using the legend below, it would distribute the sum of each class to its corresponding box.
What I want is that if I, for example, press J in the text box, the text box will auto clear itself but it would record the keystroke somewhere and count it towards the total, putting the sum in real time on each of the other boxes for each group.
I can figure out how to do the sums and everything, what I'm more interested is in knowing if there is a way of auto clearing a text box after a key is pressed and keeping that value somewhere else for the final sum.
Hope this is clear enough! If not, let me know and I'll try to explain more!
Thanks so much in advance and keep up the great job!
