Richard,
Different length codes are not an issue. See attached 3 files, do the following
1) download to a temporary directory
2) open All Codes Master, note quantities are zero
3) open ColourCodesTblWB, note lookup table
4) open Pick Sheet Sample 1, run the macro. This transfers all the quantities to the all codes master
The algorithm is as follows:
1) loop through the pick sheet quantities in range E14:J27
2) if a quantity is > 0 derive the product code
3) loop through product codes in All Codes Master workbook, when it matches write the quantity.
Code is below.
The only other thing that needs doing is to add an extra loop to run through all your pick sheets. Let me know what you think and lets enhance from there.
Regards
David
Bookmarks