Hoppefully someone can help as I have no idea where to start.
I have a workbook that contains 2 worksheets.
In Sheet1 I have a list of unique identifiers in column a (currently it is 25 long) in Sheet2 I have a number of columns of data but in column b for each row are the same unique identifiers.
I have some code that does some stuff (technical term) with the data in Sheet2 but what I would like is some other code that searches through column b (sheet2) and checks that the unique identifer appears in the list in Sheet1 - I would also like it to show a list of any that it finds that don't appear in the list in sheet1 as these will be incorrect entries.
The sheet2 data is currently 3500 lines long but it could be any number of entries.
Once it has done this check, and if it doesn't find any mismatches, I would like it to start my normal code. If it does find any mismatches I would like it to stop so I can examine the entries that it finds.
Any help appreciated.
David
I have a workbook that contains 2 worksheets.
In Sheet1 I have a list of unique identifiers in column a (currently it is 25 long) in Sheet2 I have a number of columns of data but in column b for each row are the same unique identifiers.
I have some code that does some stuff (technical term) with the data in Sheet2 but what I would like is some other code that searches through column b (sheet2) and checks that the unique identifer appears in the list in Sheet1 - I would also like it to show a list of any that it finds that don't appear in the list in sheet1 as these will be incorrect entries.
The sheet2 data is currently 3500 lines long but it could be any number of entries.
Once it has done this check, and if it doesn't find any mismatches, I would like it to start my normal code. If it does find any mismatches I would like it to stop so I can examine the entries that it finds.
Any help appreciated.
David