Closed Thread
Results 1 to 8 of 8

Dynamic combo box

  1. #1
    Forum Contributor
    Join Date
    06-23-2012
    Location
    tehran,iran
    MS-Off Ver
    Excel 2010
    Posts
    179

    Post Dynamic combo box

    Dear all
    I need a combo box with this specification :
    1. ِDespite I choose the drop down list , when I type in combo box it suggestion to me the name which in my list
    2. if I type the name which not in my list it accept and added to my list
    3. if it will be possible I don't want use from validation data for combo box
    thanks for your attention to my problem

  2. #2
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    245

    Re: Dynamic combo box

    Why not data validation? It sounds like a perfect solution to your problem, unless I am missing something.
    <--- If you like the answer, press *.

  3. #3
    Registered User
    Join Date
    05-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    86

    Re: Dynamic combo box

    I guess the problem with data validation is requirement 2. If I understand it correctly pedjvak wants to not be restricted to the initial list but to be able to use the cell to add to the option list if something new is typed in that cell.

    Don't know of a way to achieve this without VBA.

  4. #4
    Registered User
    Join Date
    05-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    86

    Re: Dynamic combo box

    If I've helped or inspired, please click the star.

  5. #5
    Forum Contributor
    Join Date
    06-23-2012
    Location
    tehran,iran
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Dynamic combo box

    Dear Duffry
    thanks for your attention to my post
    I attached the file
    could you plz show me how I can added new name in my list by typing in combo box it means when I type in combo box "Johneee" instead of "John"
    which is not belong to my source(A1:A10) it will be added to my source list as a new name (A1:A11)
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-23-2012
    Location
    tehran,iran
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Dynamic combo box

    Dear Zumbalj
    could you plz show me how you can fix it (my Terms as I issue in my last post) by validation Data ?

  7. #7
    Registered User
    Join Date
    05-21-2013
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    86

    Re: Dynamic combo box

    I can't, no. As I said before, I think this would need a VBA coded solution. I may be able to write it but I'm no expert there and it would a) take me quite a while and b) probably not be all that good/robust.

    The link I posted seems to get you most of the way there without the name adding feature. Is there any way you can separate this process? If not then I think you need some VBA code.
    Last edited by arlu1201; 07-13-2013 at 06:18 AM.

  8. #8
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Dynamic combo box

    Duplicate thread, hence closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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