I am trying to set up a scan mode for a barcode scanner. Right now I have a system set up where I can scan the UPC, and then it searches for that UPC code in the appropriate column. Once found, it offsets to the quantity column and adds one. This seems to work fine, so far at least. But I want to be notified if it does not find the matching UPC so I know what needs to be added to the list. So I have tried to set up an else case with the if, then statement where a message box appears with the notification. However, the message box pops up every time a UPC is entered. Then it runs the else case five times. It seems like the else case is running no matter whether the if statement is true or not.
I am hoping that some fresh (and more experienced) eyes can help my problem. I have attached a copy of the workbook with the code.