I've looked this up and haven't found much luck on the subject, so I thought I'd try my luck here again.
The sheet I'm using has both data validation tables, and comboboxes. The comboboxes are all the same in configuration and properties. There are 50 of them, all in Column D. I went with Combobox because I wanted to predictive text feature for the list.
Everything works beautifully, almost. I can have the user select an item from the list, and move to the adjacent cell with the Tab button. But I need to start by having the Tab button move from Column C to the combobox in D, rather than the cell under the combobox. I also need it to activate the drop down list as soon as the user starts typing, thus the predictive text feature. (The selection must be an exact match to the list used for future functions). This is where I'm stumbling.
Here is what I'm using to exit the combobox.
Private Sub ComboBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = 9 Then ActiveCell.Offset(0, 1).Select
End Sub
Ideas? Modify it to select an object, rather than (0,1)?
The sheet I'm using has both data validation tables, and comboboxes. The comboboxes are all the same in configuration and properties. There are 50 of them, all in Column D. I went with Combobox because I wanted to predictive text feature for the list.
Everything works beautifully, almost. I can have the user select an item from the list, and move to the adjacent cell with the Tab button. But I need to start by having the Tab button move from Column C to the combobox in D, rather than the cell under the combobox. I also need it to activate the drop down list as soon as the user starts typing, thus the predictive text feature. (The selection must be an exact match to the list used for future functions). This is where I'm stumbling.
Here is what I'm using to exit the combobox.
Private Sub ComboBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = 9 Then ActiveCell.Offset(0, 1).Select
End Sub
Ideas? Modify it to select an object, rather than (0,1)?