Hi,
As the title says. How can I "Tab" out of a ListBox on a UserForm?
I don't understand why, the ".SetFocus" will move cursor to "ListBox2" but focus jumps back after "End Sub".
Anyone has a suggestion for this?
As the title says. How can I "Tab" out of a ListBox on a UserForm?
I don't understand why, the ".SetFocus" will move cursor to "ListBox2" but focus jumps back after "End Sub".
Anyone has a suggestion for this?
VBA Code:
Private Sub ListBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = 9 Then ListBox2.SetFocus
End Sub