LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 183
Default Deleting/highlighting duplicate rows

hmmm....i hope i can explain this:
i have columns A - AG in worksheet 2. in worksheet 2, cells A1:F499 have a
formula in them to pull the data from worksheet 1 and display it.
as time goes by, a client will paste info into worksheet 1, columns A:F.
currently i have data up until row 18 without any blank lines. but until
the client adds more data later into worksheet 1, rows 19 - 499 are blank.
when i run the macro as it is right now, it searches for duplicate entries
and highlights them green. however, since rows 19 - 499 have formulas in
them it turns all of those rows green too. and i don't want it to do that, i
only want to highlight the duplicate rows with actual data in them.
is this possible? should i just run the macro on worksheet 1 and delete (or
clear contents) or highlight from there instead of worksheet 2 where i have
formulas?
once i can (if i can) get the highlighting to work, i'll change to code to
actually delete the dup's.

thanks for your help, i really appreciate it,
sharon

"anilsolipuram" wrote:


Presently your code is stop executing duplicates if a row as no data at
column c, so I think it is stopping when no data is found.

What do you mean by last row?. Do you have blank rows between rows, a
blank row represent last row?.


--
anilsolipuram
------------------------------------------------------------------------
anilsolipuram's Profile: http://www.excelforum.com/member.php...o&userid=16271
View this thread: http://www.excelforum.com/showthread...hreadid=277948




 
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
HIGHLIGHTING DULPICATES WITH TWO COLUMNS & DELETING DUPLICATE PERANISH Excel Worksheet Functions 0 June 17th 08 09:45 AM
Deleting duplicate rows Kevin Excel Discussion (Misc queries) 1 May 2nd 06 12:16 AM
Deleting Duplicate Rows AllenR2 Excel Programming 4 September 11th 04 06:01 PM
Deleting duplicate rows.....there's more Fredy Excel Programming 1 June 24th 04 07:04 PM
Deleting Duplicate Rows Connie Excel Programming 3 January 25th 04 09:00 PM


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