Enter event in textbox control?

R

Robert Crandal

Is there a way to determine if/when the Enter key is
pressed inside a textbox control?? I only have
one textbox control on my userform....so, if a user
types in text they will usually press the Enter key to
indicate they are done typing. That is why I need to
determine when/if Enter is pressed.

thank u
 
M

Mishell

Check the value of Keycode in the
TextBox1_KeyDown event when the Enter key is pressed.

Mishell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top