Hi All,
I am new to Excel VBA and am having an issue with a macro I am writing, I can get VBA to delete duplicate rows but I have a situation where the same Unique ID that I am looking for can be used for multiple vendors within the same data set.
Vendor ID TransID
41122 A443111111
41122 A432113333
41122 A443111111 - Duplicate - to delete
41122 A432113333 - Duplicate - to delete
41188 A443111111
41188 A432113333
What I am trying to do is retain is the following:
41122 A443111111
41122 A432113333
41188 A443111111
41188 A432113333
The delete line code i am currently using does not loop through each vendor and removes duplicate transactions that have the same ID for different vendors.
Not sure how to resolve this. Someone's assistance would be greatly appreciated
I am new to Excel VBA and am having an issue with a macro I am writing, I can get VBA to delete duplicate rows but I have a situation where the same Unique ID that I am looking for can be used for multiple vendors within the same data set.
Vendor ID TransID
41122 A443111111
41122 A432113333
41122 A443111111 - Duplicate - to delete
41122 A432113333 - Duplicate - to delete
41188 A443111111
41188 A432113333
What I am trying to do is retain is the following:
41122 A443111111
41122 A432113333
41188 A443111111
41188 A432113333
The delete line code i am currently using does not loop through each vendor and removes duplicate transactions that have the same ID for different vendors.
Not sure how to resolve this. Someone's assistance would be greatly appreciated