Its a userform to do item information lookups.
The user keys in the product code (UPC), VBA searched for that record
in the worksheet "master", and then returns the item's description and
price in the userform.
More demonstration purposes, I have only 1 item in the master list.
So open it up, and in the UPC box type or copy/paste 012000002090
Then press ENTER on your keyboard. Works right?
Now what I want to do is to be able to start typing the next UPC in the
box. But it doesn't let me, because the focus is set on the
commandbutton. I've tried setting txtUPC.setfocus at the end of
_AfterUpdate, but the focus stays on the command box.
I know I can use a commandbox instad of using the Enter button, but I
want to use the Enter button.
http://www.boltentertainment.org/helpme.xls