How do I compare entire rows with each other?
I'm trying to write a macro that finds duplicate rows in CurrentRegion and deletes the duplicates but I'm lost with the code:
The CurrentRegion has headers and is sorted so the duplicates (if any) should be right ontop of eachother.
The problem is that there's 30 columns in each row and comparing cells one by one for each row is going to take a lot of time (there can be up to 65000 rows in the CurrentRegion).
What would be the best (=fastest?) way to do this?
I'm trying to write a macro that finds duplicate rows in CurrentRegion and deletes the duplicates but I'm lost with the code:
The CurrentRegion has headers and is sorted so the duplicates (if any) should be right ontop of eachother.
The problem is that there's 30 columns in each row and comparing cells one by one for each row is going to take a lot of time (there can be up to 65000 rows in the CurrentRegion).
What would be the best (=fastest?) way to do this?