Results 1 to 15 of 15

VBA to remove duplicates starting from the top

Threaded View

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2013
    Posts
    95

    VBA to remove duplicates starting from the top

    Hello VBA Community,

    I'm trying to figure out the best way to remove duplicates. I have a sheet that gets rows added from the bottom and column A will have duplicate values. What I'm trying to do is remove the older duplicates that are in higher rows.

    Unfortunately this code removes duplicates from the bottom. Any idea how I can manipulate it to remove rows that are above the duplicated value? Any help will be greatly appreciated.


    ActiveSheet.Range("Table1[#All]").RemoveDuplicates Columns:=1, Header:=xlYes
    Thanks.
    Last edited by GreenTee; 03-20-2015 at 12:41 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Remove ListBox items starting from the top
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2012, 10:08 AM
  2. Replies: 1
    Last Post: 10-23-2012, 09:12 AM
  3. Replies: 5
    Last Post: 02-28-2012, 02:52 PM
  4. Need VBA code to remove entries if there are duplicates (remove them totally)
    By BrandonFromSingapore in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2012, 12:50 AM
  5. Replies: 2
    Last Post: 03-20-2011, 11:19 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