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
Find Duplicates
-
- Administrator
- Posts: 78511
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Find Duplicates
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2347
- Joined: 23 Feb 2010, 12:07
Re: Find Duplicates
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
Adam
-
- Administrator
- Posts: 78511
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- SilverLounger
- Posts: 2347
- Joined: 23 Feb 2010, 12:07