+ Reply to Thread
Results 1 to 2 of 2

Duplicate deletion macro does not match number of rows for deletion by hand

  1. #1
    Forum Contributor
    Join Date
    03-01-2019
    Location
    New York, New York
    MS-Off Ver
    Office 2016 for Mac
    Posts
    125

    Duplicate deletion macro does not match number of rows for deletion by hand

    I wrote this macro to delete duplicates from the columns A, E, J and K. It also deletes blanks and phone numbers with issues (e.g. 9999999999). When I do it by hand I am left with 5711 rows. When I use the macro I am left with 5676 rows. Can anyone explain why I am getting two different results?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,492

    Re: Duplicate deletion macro does not match number of rows for deletion by hand

    Don't know. But why don't you just use one column, say column to flag the duplicates? Then you could have one filter and delete process.

    Or, just use Remove Duplicates.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. [SOLVED] Deletion of Duplicate row between two sheets by using macro
    By waqar1239 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-21-2017, 05:41 PM
  2. Prevent workbook deletion or create the copy upon the deletion?
    By ciapul12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2014, 04:35 PM
  3. Conditional Duplicate Deletion
    By Bob@Sun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-13-2010, 11:49 AM
  4. Macro to recognise no. of rows after deletion
    By clng in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-27-2007, 02:23 PM
  5. Help Requested - Deletion of Duplicate Lines Possible?
    By terry40 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2006, 01:15 PM
  6. Deletion of Duplicate Values and Adding up
    By yasirmajid in forum Excel General
    Replies: 1
    Last Post: 08-29-2006, 12:54 PM
  7. Merge two files and then allowing deletion of duplicate cells?
    By candygrl7300 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-10-2006, 01:30 PM

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