+ Reply to Thread
Results 1 to 3 of 3

fill combobox

  1. #1
    Registered User
    Join Date
    10-05-2014
    Location
    nl
    MS-Off Ver
    8
    Posts
    13

    Question fill combobox

    Good evening,

    I start over with what simpler.

    I want to fill a combobox on a form thats get its data from sheet1 collumn A. But its new so there is no data in Coloumn A. i entry in the combobox data that wil store in sheet1 Colomn A -row1.
    and so on


    Combobox value = emty (becourse i made no entry yet)
    Combobox entry is 1 ,sheet1 coloumnA row1 = 1
    Combobox value = 1 ,entry is 2 ,sheet1 coloumnA row2 = 2
    Combobox value = 1 and 2 ,entry is 1 Sheet1 coloumnA row3 = 1
    here it comes
    Combobox value now = 1 and 2 and 1 so i have a double value it`s 1

    question : how i stop double values in combobox and i can entry data in combobox but sheet1 coulumA will unchanced
    Knipsel.PNGKnipsel1.PNG

    when i have a piece of code for this hten the rest i figure out myself .

    greetz Tankje(Rob)
    Last edited by tankje; 02-15-2015 at 03:44 PM. Reason: pictures

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,937

    Re: fill combobox

    comment deleted
    Last edited by protonLeah; 02-15-2015 at 04:45 PM.
    Ben Van Johnson

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: fill combobox

    Here is a bit of code that will populate the comboBox with unique values

    Please Login or Register  to view this content.
    Unique.jpg

+ 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. How to fill a combobox only once
    By danieluk9 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2014, 05:24 AM
  2. Why Form Combobox VBA do not fill the combobox? Please help!
    By alex_shin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-16-2013, 03:03 AM
  3. [SOLVED] Can't get combobox to properly fill data based on another combobox.
    By Orestees in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-15-2012, 05:22 PM
  4. Fill ComboBox
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-10-2011, 01:42 PM
  5. Fill combobox from DLL
    By JJ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-14-2006, 05:10 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