Good afternoon,
I've been struggling to find a solution to a problem I came across when working with a new file; I'll try my best to describe the problem I'm having.
In an effort to try and bring my problem across clearly, I will be calling File1 the "Edited" and File2 the "Master" file. These are both separate Excel files saved with macro support.
There are unique references in both of these files that will appear in cells E11:E65536 (currently it only goes as far as E89 - but it will grow over time, although 65536 rows is probably overkill). The way the reference is setup is "ABCD000456789", where "ABCD" is the only identical part of each reference.
What I'm trying to find is a macro that takes each of the unique references in cells E11:E65536 of the Edited file, and tries to find the same reference in column E of the Master file. If it finds the reference from the Edited in the Master file, it's correct and that row should be left alone. If one of the references from the Edited file cannot be found in the Master, it clears the row of the "surplus" reference in the Edited file (columns B through J and L through S).
I've searched numerous sites for a solution, but the ones I found didn't work out - so here I am. I'm not sure just how complex this would be to make, but any help on this would be greatly appreciated, as always.
Kind regards,
Christofer
Bookmarks