Got it Thanks
I have an add button which adds TextBox1 text to listbox Coulmn 1, and Textbox2 to Column 2. Then clears the text in both boxes and sets focus to textbox1 ready for a new entry.
The code runs fine:
I am looking to setup my form so that is the user presses enter when in textbox2 the code will also run. I have the below code, yet it doesn't work no error code shows it just doesn't do anything. Is there anything missing.
Also when I have searched for running vba on enter press some sources say use the Keypress Event and some KeyDown event is there any difference or need to use one over the other?
Bookmarks