new TextBox doesn’t work properly when I scan barcodes
I’m working on this store checkout system where I can scan barcodes into TextBoxes on a UserForm. Next to each TextBox, there’s supposed to be a Label showing the product name and price. I’ve got it set up so I can keep adding more TextBoxes as I scan more barcodes. But here’s the problem: the order the barcodes show up in the TextBoxes is all over the place. The sequence on which TextBox the new barcode will appear is 1st, 2nd, 1st, 2nd, 3rd, 1st, 2nd, 3rd, 4th, 1st… and so on.