Find Duplicates

User avatar
HansV
Administrator
Posts: 78511
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Find Duplicates

Post by HansV »

The code assumes that the data begin in row 2, but they begin in row 6. So you should change the line

col.Add cRow - 2

to

col.Add cRow - 6
Best wishes,
Hans

User avatar
adam
SilverLounger
Posts: 2347
Joined: 23 Feb 2010, 12:07

Re: Find Duplicates

Post by adam »

The Code behind RemoveDuplicates is designed to show only one row of duplicate rows even if three or four rows with same Customer ID exists. The code behind Sub DoFilter() and Sub FilterList() is designed to show all the rows with the same customer ID. How could the code behind be altered so that it shows all the duplicate rows with the same customer ID so that the list box gets filtered with duplicate rows.
Best Regards,
Adam

User avatar
HansV
Administrator
Posts: 78511
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Find Duplicates

Post by HansV »

You're asking too much again.
Best wishes,
Hans

User avatar
adam
SilverLounger
Posts: 2347
Joined: 23 Feb 2010, 12:07

Re: Find Duplicates

Post by adam »

Never mind. I've solved it for myself & it was easy.
Best Regards,
Adam