+ Reply to Thread
Results 1 to 27 of 27

Finding duplicates in a column, prompt user then delete the current one

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: Finding duplicates in a column, prompt user then delete the current one

    Hi,

    great.

    Actually, I would like the entire row to clear the contents please.

    So something like range (cells 1) to ( cells 60) . Value = ""

    possible?

  2. #2
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: Finding duplicates in a column, prompt user then delete the current one

    Clear cell contents if the next value you enter in col a has a duplicate.

    Only checking column a please.

  3. #3
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Finding duplicates in a column, prompt user then delete the current one

    Quote Originally Posted by Lifeseeker View Post
    Clear cell contents if the next value you enter in col a has a duplicate.
    I had already modified the code to delete the entire row. You can have it delete from cells 1- 60 , but that will leave a blank row?

    I don't understand what you are saying in this sentence?
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: Finding duplicates in a column, prompt user then delete the current one

    oh I see..

    hmm maybe deleting the entire row is a better option. I will check it tomorrow.

    Thank you

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Finding duplicates in a column, prompt user then delete the current one

    @ JapanDave,

    Your Code works Fine! I tried to tweak it to only Clear the Range found with duplicates, but it does'nt work?
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ Reply to Thread

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