Hi,
I am a novice at macros. By which I mean I have never written one, and have only just started using other people's. I am finding this hard....
We sell wholesale, and receive orders via .csv files. We need to check them off and currently it is manual, which causes errors. We want to check off an item by scanning its barcode from an order sheet. So this is what we need:
We need a sheet that will enable us to enter our orders from our wholesale customers, with up to 11000 items on. It will then enable us to tick the items of the list, by scanning the product barcode from the item straight into the sheet. I can make one like this myself up to this point based on other's VBA (based on this thread http://www.mrexcel.com/forum/excel-q...e-scanner.html)
However... it will then knock 1 off the quantity on the order. When there are none of that item remaining on that order it will produce an error code and beep, so that we know that item is incorrect and not to pack it with the same order. Likewise when an incorrect item is about to be packed, it should error and say the item is incorrect. It will pref show us what is remaining to pack from the order, by greying out completed lines.
It will also enable us to manual override the pick list to cancel an item we cannot fulfil if it is out of stock.
Ideally, but not necessarily, it will also tell us how many boxes of 4 items per box we have just packed.
I have attached my best effort based on the vba used in this thread:
http://www.excelforum.com/l/759205-a...ode-input.html
It is nearly there, but I am getting random 'code not found' messages against some EANs (try it with PB-27-Green-Black, ean 0799456401034 for example), which would completely screw the whole system up. I have used the column formatted as general, and as text, and as number, but cannot stop it from happening.
Alongside this, as you can see from the instructions sheet, I am going to have to ask the user to bring in the information from an .xls file which has the columns and headers formatted differently. As the scanner person isn't an excel user, i would pref like to be able to set up a macro to auto copy the imported information from sheet 3, or wherever, to sheet 1, using the relevant columns transferred to the correct places on sheet 1, and not including the headers where they shouldn't be included.
Is there anyone please, please, please that can help me? I have spent too long trying now and my brain is frazzled....
Cheers,
Nicky
INCREDIBLY IMPORTANT EXCEL SHEET v2 trial.xls
Bookmarks