Hi, I am trying to use a barcode scanner to amend the value of an item in excel - each time the item is removed, its corresponding barcode will be scanned. I want to make scanning the barcode automatically decrease the quantity in an excel sheet to make it show that it has been removed. I have looked a bit at VBA and command buttons, but am struggling to work out if excel has a way to use barcode scanners in the same way as a command button if that makes sense? Thank you.