Scan type A barcode to excel and make subsequent type B barcodes to go across

snowing

New Member
Joined
Mar 1, 2018
Messages
2
Hi everyone,

I am using Excel 2016 and am trying to create a macro worksheet for barcode scanners.
Could anyone let me know if this is possible? (If not potential workarounds) I am a complete beginner to macro and any help would be greatly appreciated.
How it will work is...
1. an employee will scan a barcode on the store receipt (order # into A2)
2. the scanned barcode will be timestamped (timestamp into B2)
3. the employee will scan barcodes of the stations they worked at (barcode into C2 and any subsequent barcode will go across. C2->D2->E2->...)
4. repeat step 1. If there is a duplicate of the order #, excel will go back to that order # and continue adding barcodes horizontally .
If it is a new order # excel start a new row.



worksheet:

0X65G8.png


Worksheet result:
rvI824.png


Thank you
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
normally, in every database, data does NOT flow left-to-right.
its 1 barcode record per line.

Why do you want data to go across columns?
 
Upvote 0
Hi ranman,

We need to record which stations were used for different orders. Trying to build a tracking system.
 
Upvote 0
snowing,

Welcome to the MrExcel forum.

I received your Private Message, and, have looked at this thread, but, I can not see the logic to solve your request.

I attempted to reply to your Private Message, but, the system would not allow me to respond.

Maybe someone else on MrExcel will be able to help you.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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