Hi. I need some VBA code to perform the following.
Sheet1 will contain a list of part numbers. There could be up to 100 or more different part numbers, and the same part numbers can appear multiple times (they relate to a barcode being scanned that holds the part number, and the same part number can be scanned a number of times).
I need Sheet2 to 'analyze' Sheet1 so that Sheet2 reports a list of the individual part numbers found in Sheet1 in column A, and the number of times each one occurs in column B. The problem is that we will never know what part numbers are going to appear in Sheet1, so there is no 'source' or reference list to compare against.
Sheet1 will contain a list of part numbers. There could be up to 100 or more different part numbers, and the same part numbers can appear multiple times (they relate to a barcode being scanned that holds the part number, and the same part number can be scanned a number of times).
I need Sheet2 to 'analyze' Sheet1 so that Sheet2 reports a list of the individual part numbers found in Sheet1 in column A, and the number of times each one occurs in column B. The problem is that we will never know what part numbers are going to appear in Sheet1, so there is no 'source' or reference list to compare against.