MrProgrammer
Programmer
I have an Excel file which contains about 15000 records. Each record (row) has some fields(columns) such as Name, Lastname, Date of birth, Father's name, Mother's name and bla bla bla... Number of records are continuously increasing. At any instance of time, I want to find all the repeated records in the file with a macro written in Visual Basic(To say that two records are identical, their first five fields that I mentioned just before, must be same). To do this, I'm using a primitive method : From the beginning, I am comparing each record with all the other records so if there are N records, to find all the repeated records N! comparisons have to be made. This process takes a long time. Is there any other method to implement this job.