I am using following line to remove duplicates in column.
ActiveSheet.Range("A:B").RemoveDuplicates Columns:=Array(1, 1), Header:=xlYes
Problem is, this is done silently and I don't really know when my data has double values.
I need know by using Msgbox
that if duplicates are deleted or not. Is it possible using Count
to mention number of entries deleted? in simplest code.