Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message if duplicate data entered RealmSteel[_2_] Excel Programming 4 December 20th 06 09:12 PM
SQL detection brucelim80[_2_] Excel Programming 3 March 10th 06 07:37 AM
Color detection Dan wilson Excel Worksheet Functions 3 March 31st 05 03:51 PM
Hidden Row Detection Nigel[_7_] Excel Programming 1 January 20th 05 03:13 PM
add-in detection romes1 Excel Programming 2 November 2nd 04 11:59 PM


All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"