Hi guys,
I'm not very good at VBA, and I can't quite work out what I should be doing to modify this code to make it do what I want.
So, I have a massive index of documents (20,000+) each with a unique Doc ID. I need to work out which documents are in the list, and which are not. So my code so far is:
Essentially, it loops through the list in Sheet 2, and if it finds the relevant doc ID in Sheet 1, it copies it across to Sheet 3. That part works great. However, I now also need it to copy any doc IDs it doesn't find into Sheet 4. But that's the part I can't get it to do, and I don't know enough to figure it out.
This is the part that's failing:
Basically, if while it's looping through the search list in Sheet 2, and it doesn't find that value in Sheet 1, it should throw that search term into the next available row in Sheet 4.
Does that make any sense?
Thanks!
Bookmarks