Search code examples
excelvbatouchkeycode

laser reader and vba excel


Using a laser reader and the KEYDOWN event of excel vba, which key on the keyboard is associated with a laser reader?

I need to use Excel VBA keydown event for a textbox object but I use a laser reader and I would like to know which keycode argument is input from a laser reader corresponds to.

I'm using a Motorola Symbol

In Excel VBA there is following routine for KEYDOWN event:

Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
End Sub

I need to know value for argument KEYCODE using a laser reader.


Solution

  • Using a barcode scanner generates the same keycode value as physically pressing the enter key on the keyboard.I have solved.