Results 1 to 8 of 8

How to remove only unique and keep duplicates

Threaded View

  1. #1
    Registered User
    Join Date
    09-09-2009
    Location
    RANCHO DOMINGUEZ, CA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Thumbs up How to remove only unique and keep duplicates

    I have been trying for a day now to figure out how to remove the unique cells and keep the duplicates only. I have tried a macro but it does not seem to work. Has any one run into this before. I have attached a sample what I would like to do is remove all non-duplicates from column A. The only macro I could find was this:
    Range("$A$2:$A$4344").AdvancedFilter Action:= xlFilterInPlace, Unique := True
    Range("$A$2:$A$4344").SpecialCells(xlCellTypeVisible).EntireRow.Delete
    ActiveSheet.ShowAllData
    But this did not work. Any Ideas would be much appreciated.
    Attached Files Attached Files
    Last edited by Leith Ross; 09-09-2009 at 06:28 PM. Reason: Added Code Tags

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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