Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mlocke

  1. mlocke

    Control Textbox focus on a userform

    Thank you very much for the suggestions. This is now working the way I was trying to get it to. Regards, Marcia
  2. mlocke

    Control Textbox focus on a userform

    Yes, that's pretty much what happens except that the entry in the textbox is checked by the cmdAdd routine to make sure it is 1) in listbox1, and 2) not already selected, before it is put in listbox2. In other words, the code to put textbox value into listbox = cmdAdd() I'll give this a try...
  3. mlocke

    Control Textbox focus on a userform

    Gerry, Thanks for your reply. I thought that would be a good idea too and I tried it but it did not work. The focus still goes to the command button when I enter the item. Regards, Marcia
  4. mlocke

    Control Textbox focus on a userform

    I think so. I tried to simplify my form for asking the question but there are additional considerations. I have another method of choosing items by clicking listbox1. If they click from the list then cmdAdd is run after each item. After cmdAdd is run, the item appears in listbox2. (Another...
  5. mlocke

    Control Textbox focus on a userform

    Yes, this is true. However, I want to call my cmdAdd subroutine on each item as I go. I don't know how to do that each time the user hits enter. Thanks, Marcia
  6. mlocke

    Control Textbox focus on a userform

    I have a textbox that collects one or more item numbers from the user. After each entry, a subroutine is run which I call from textBox_AfterUpdate. When the user is done entering items, I need control to shift to a commandButton which runs another routine. I've been able to construct code...

Part and Inventory Search

Back
Top