Hello Everyone,
I have a listbox1 in the userform and I want to be able to use either the double clicking from the mouse or use an "enter" key.
I already have a code for double click but I need to add the enter key code with it.
Please help. Thank you.
![]()
Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean) TextBox1.Value = ListBox1.Value End Sub
Bookmarks