[VBA]USE Mobile Data Collection - Scan-IT to Office SCAN BARCODE &INPUT TEXTBOX

CLAIRE_H

New Member
Joined
Feb 18, 2023
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
I used the Excel"Scan-IT to Office app" to scan barcode .
When I use my phone scan barcode,it always input to A1 cell or A2 cell...>A3>A4>A5.....
I need the "barcode number" input to the userform "textbox(A)" not "sheets's cell(A1)"
Like the picture I need the "barcode number(60106-04 -000025)" input to "textbox(A)",but it input to A1 cell
How to revise my vba code? THANKS~
1676857106777.jpg


VBA Code:
Public Sub show()
 DataForm1.Show
End Sub

Private Sub Form_Load()
    BarcodeScanner.ControlSource = ""
    BarcodeScanner.Locked = True
    BarcodeScanner.TabStop = False
End Sub

Private Sub BarcodeScanner_Scan(ByVal Barcode As String)
    DataForm1.SText.Value = Barcode
End Sub


Private Sub CLear_Click()
   SText.Text = ("")
   NText.Text = ("")
   Ctext.Text = ("")
   Etext.Text = ("")
End Sub


Private Sub NewB_Click()
   LF = Range("A1").End(xlDown).Row + 1

   Cells(LF, 1) = SText.Text
   Cells(LF, 2) = NText.Text
   Cells(LF, 4) = Ctext.Text
   Cells(LF, 5) = Etext.Text
End Sub
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Last time I tried using Scan-IT to Office, it targets specific worksheets.
I am not sure if it can transmit the data to a form.

Eventually I just purchase QR Code scanners that stores all the scans, then
download the data (into a spreadsheet) by scanning a specified QR Code
(provided by the scanner manufacturer).

I use this method successfully to:
* Receive raw data into the warehouse
* Transfer raw data to the production facility
* Identify products at the QC station
* Identify pallets when they go into the warehouse
* Shipping the products

For creating barcodes and QR Codes, I use licensed software (TBarcode Office) from TEC-IT.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top