Results 1 to 3 of 3

Delete Row When Cell Value is a Duplicate

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-22-2004
    Location
    Kokomo, Indiana
    Posts
    236

    Question Delete Row When Cell Value is a Duplicate

    I'm running Windows XP using Excel 2010.

    What I have now: Hope there is a sharp moderator who can assist me in this long journey. I have two spreadsheets which are merged, one below the other. Spreadsheet A is a database and spreadsheet B is an update with weekly data. The contents of B are added to the bottom of A. In column D there are supposed to be unique values. Sometimes the update spreadsheet contains remnants from previous updates.

    What I would like help with: Using VBA, I would like to compare the values in column D (starting from bottom to top). If I get a match, need to delete the row closer to the bottom versus the one in the database. This ensure integrity of my database spreadsheet.

    I call the last row in the database lastRowInDatabase and I call the last row of the combined spreadsheet lastRowInCombined. The contents in column D are numbers.

    Crossing my fingers one of you sharp guys/gals can give me a hand.

    Tony
    Last edited by ajocius; 12-18-2012 at 01:22 PM.

Thread Information

Users Browsing this Thread

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

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