daffyduck1970
New Member
- Joined
- Jun 8, 2024
- Messages
- 1
- Office Version
- 365
- Platform
- MacOS
Long time listener, first time poster. I have a barcode scanner that will scan barcodes properly (anywhere from 3-30 characters long) and enter that data correctly in a cell. Now when I create a simple VBA InputBox and scan the barcode, I get about 65% of what I need in the spreadsheet. I've tried different variations of the InputBox, but I still do not get all of my data. I manually scan into a cell and boom, all the data is there. Is this a VBA issue? Scanner issue? My code issue? Am I pulling an ID10T?
Sub Input1()
Dim AddName As String
AddName = InputBox("Scan Your Name Here", "Add Name")
Range("A1").Value = AddName
End Sub
Sub Input1()
Dim AddName As String
AddName = InputBox("Scan Your Name Here", "Add Name")
Range("A1").Value = AddName
End Sub