+ Reply to Thread
Results 1 to 4 of 4

VB Code to find duplicate and delete row

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to find duplicate and delete row

    Hello:

    Please refer to attached file.
    I have lots of data from column A:G

    I need to delete the row if any data in column C is duplicated.

    Let me know if you have any questions.
    Thanks.
    RM
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB Code to find duplicate and delete row

    Hello :
    Small correction in my need.
    DO NOT DELELTE THE ROW if the value in column C is blank.
    So basically check if any duplicate in column C with numbers
    Please let me know if you have any questions.
    Thanks.

    Riz

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: VB Code to find duplicate and delete row

    Hey Riz,

    Try this (though initially on a copy of your data as the results cannot be undone if they're not as expected):

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VB Code to find duplicate and delete row

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VB Code to find duplicate in a column and delete he row
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2014, 11:59 PM
  2. Find duplicate, concatenate value to original, delete row
    By onejameschung in forum Excel General
    Replies: 1
    Last Post: 06-25-2014, 03:49 PM
  3. Find Duplicate in column and delete first:
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2013, 03:19 PM
  4. [SOLVED] Find duplicate in another column and delete that row
    By Gopinathak in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-01-2013, 05:39 AM
  5. How to find duplicate entries, find which has the lowest value, and delete the rest?
    By John2810 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-05-2011, 06:39 AM
  6. Delete the entire row after find any duplicate
    By shyampanda in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2011, 08:14 AM
  7. find duplicate entries and delete them?
    By Agnitoood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2005, 07:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1