+ Reply to Thread
Results 1 to 6 of 6

VBA Code to find duplicate in worksheet

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    VBA Code to find duplicate in worksheet

    Hi all,

    I was wondering if anyone could help me with a problem I have come across. I need a code that when I make a selection on a combobox on a userform it will check it against a a list in column A of a worksheet and a msg box will pop up to say it matches or is a duplicate.

    Any help would be massively appreciated.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA Code to find duplicate in worksheet

    Submit an example workbook with clear examples of what a positive check and a negative check would be (i.e. Match vs Duplicate).
    If you are happy with my response please click the * in the lower left of my post.

  3. #3
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: VBA Code to find duplicate in worksheet

    Hi,

    I haven't actually created the spreadsheet yet, but I can draft one up yet. I have rough one, I'll clean up.

  4. #4
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: VBA Code to find duplicate in worksheet

    Sorry... I'm being stupid. How do you add a spreadsheet?

  5. #5
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: VBA Code to find duplicate in worksheet

    Worked it out, but won't let me load the file. Very annoyin.

  6. #6
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: VBA Code to find duplicate in worksheet

    Hi,

    I've created a code but can get it to work. Reg1 is combobox and Reg130 is a label on which I want my results to appear. I've putting the code into Reg1, I think this is the right way round...

    Please Login or Register  to view this content.

+ 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. VB Code to find duplicate in a column and delete he row
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2014, 11:59 PM
  2. [SOLVED] Find duplicate alphanumeric values in two different worksheet
    By Habs21 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2014, 01:15 PM
  3. [SOLVED] VBA code to find duplicate and combine their values
    By tohor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2013, 03:45 AM
  4. [SOLVED] Code to find duplicate colors and keep only 1 entry
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-16-2013, 12:57 AM
  5. find duplicate in two worksheets and copy to the third worksheet
    By julius1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-14-2010, 12:05 AM
  6. Detect/find Duplicate Values In Code
    By FRIEL in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-14-2008, 11:02 AM
  7. Macro Code to find duplicate and add alphabet to it...........!
    By Thyagaraj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2006, 04:00 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