+ Reply to Thread
Results 1 to 2 of 2

Prevent duplicate entries in Data Validation List By code

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Prevent duplicate entries in Data Validation List By code

    Hello everybody
    I want to know is it possible to prevent duplicate entries Data Validation list in a column by code .. in worksheet_Selectionchange
    How to do that if poosible?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Prevent duplicate entries in Data Validation List By code

    Hello YasserKhalil,

    Change Columns("A:A") to the column you want to check.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Prevent duplicate entries in Data Validation List By code
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-26-2014, 04:56 PM
  2. Replies: 0
    Last Post: 06-14-2012, 12:38 PM
  3. To prevent duplicate entries using Data validation.
    By legendkiller420 in forum Excel General
    Replies: 3
    Last Post: 07-09-2010, 07:47 AM
  4. Preventing duplicate entries using a data validation list
    By turbofatty in forum Excel General
    Replies: 4
    Last Post: 04-21-2010, 10:12 AM
  5. [SOLVED] Prevent Duplicate Validation List Entries
    By JK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2006, 04:20 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