LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default delete dulipate rows by checking each and every cell in a row till end.


hi friends,

iam trying to write macro for delete rows in a set of data by checking
which row is greater than the other row and delete the lesser row.

for example

A B C D E F

1 1 0 1 1 0 1
2 1 0 0 1 0 1
3 0 1 0 0 1 0
4 1 0 1 0 1 1
5 0 0 1 0 0 1

FOR this data the marco should delete rows which are = to other rows

answer should be like this


A B C D E F

1 1 0 1 1 0 1
2
3 0 1 0 0 1 0
4 1 0 1 0 1 1
5


2ND row is delete because 1st row is greater than the 2nd row
5th row is deleted because 4th row is greater than the 5th row


can any one plz help me rearding this marco.
thanks

sreedhar


--
sreedhar
------------------------------------------------------------------------
sreedhar's Profile: http://www.excelforum.com/member.php...o&userid=27582
View this thread: http://www.excelforum.com/showthread...hreadid=471039

 
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
Copy cell contents in empty rows below it till any unempty row com vtmalhan Excel Discussion (Misc queries) 1 February 11th 08 11:26 AM
Delete rows on Cell wal50 Excel Discussion (Misc queries) 3 December 31st 07 12:52 PM
Spell Checking with checking cell notes jfitzpat Excel Discussion (Misc queries) 0 August 8th 07 10:26 PM
Checking specific cell, and identifing how many rows in the sheet Amy[_9_] Excel Programming 3 April 21st 05 03:57 PM
Delete rows after used cell? JayL. Excel Programming 1 October 30th 03 07:23 AM


All times are GMT +1. The time now is 01:56 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"