![]() |
Duplicate Detection with Message Box
Hi All
Please help me with the following: I have written the following code to detect the duplicates in Sheet1 by checking column3,7&9. I would like to display a message box which would say no of DUPLICATES DELETED & no of Unique record in the current sheet. However iam stuck and not able to do the same. Please help me. Code used to delete the duplicates: __________________________________________________ __________________ Public Sub DeleteDuplicateRows() Cells.Select ActiveSheet.Range("$A$1:$W$21").RemoveDuplicates Columns:=Array(3, 7, 9), _ Header:=xlYes End Sub __________________________________________________ ________________ Thanks in advance for your help. Regards, Uma Nandan |
All times are GMT +1. The time now is 08:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com