+ Reply to Thread
Results 1 to 2 of 2

Stop duplication in a combo box

  1. #1
    Registered User
    Join Date
    01-02-2012
    Location
    Ebbw Vale
    MS-Off Ver
    Excel 2007
    Posts
    20

    Stop duplication in a combo box

    hi,
    below is my code which i have for a drop down list within my userform...
    i have been asked to select a name from a listbox then use the combo box to select a "mr" "miss" etc to them show up together in a label.

    the problem i have is that every time i click on the drop down it duplicates the list that is already there,,
    could someone please advise of a way to stop this

    thank you


    Please Login or Register  to view this content.
    Last edited by 10121730; 02-01-2012 at 06:53 PM. Reason: changing to solved

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: hwo to stop duplication in a combo box upon click of the drop down list..

    Put that code in the Userform_Initialize event.
    It will run once and the list will always have those 6 items in it.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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