I've created a combo box in Excel but I figure out that it's not as powerful as the one in Access.
Anyway my main problem is that I am trying to track the Enter key
so since the ascii code of that key is 13 I've added the following event
Private Sub ComboBox2_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 13 Then
MsgBox "Entered Pressed!"
End If
End Sub
but I figure out (through debugging) that the Enter Key doesn't trigger
then KeyPress event.
Since I am not very familiar with Excel events I would like your help.
Thanks in advance
Anyway my main problem is that I am trying to track the Enter key
so since the ascii code of that key is 13 I've added the following event
Private Sub ComboBox2_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 13 Then
MsgBox "Entered Pressed!"
End If
End Sub
but I figure out (through debugging) that the Enter Key doesn't trigger
then KeyPress event.
Since I am not very familiar with Excel events I would like your help.
Thanks in advance