+ Reply to Thread
Results 1 to 4 of 4

I want to populate a listbox with a combobox selected item.

  1. #1
    Registered User
    Join Date
    07-11-2014
    Location
    N.Ireland
    MS-Off Ver
    2010
    Posts
    2

    I want to populate a listbox with a combobox selected item.

    I am a total newbie to this type of thing. So play nice
    I have created a combobox which I have populated with a unique list (PartCode).
    When I select the required item from the combobox I want to search the entire worksheet and popoulate the listbox with a list of all the enters with that selected part code.

    The worksheet has over 200 columns and over 2000 rows!!

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: I want to populate a listbox with a combobox selected item.

    Hi, Bailers,

    maybe attach a samplke workbook ion order for us to get more information what to program.

    In the meantime you may have a look at An Excel DatabaseForm to adapt for your own projects and see if you may adapt the concept to suit your needs.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    07-11-2014
    Location
    N.Ireland
    MS-Off Ver
    2010
    Posts
    2

    Re: I want to populate a listbox with a combobox selected item.

    Thanks for the reply.

    I have attached the following workbook.
    Attached Files Attached Files

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: I want to populate a listbox with a combobox selected item.

    Hi, Bailers,

    you would need to add what information should be displayed in the Listbox (as I doubt it to be any good idea to incorperate Columns up to FY in a Listbox, and I even more doubt it to be technically desirable to do so).

    Again: have a look at the sample Database I mentioned. All the basic code should be on hand, you would need to update the ranges and the arrays to suit.

    Ciao,
    Holger

+ 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. selecting an item in combobox, the item does not get selected
    By AVM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2014, 05:14 AM
  2. Replies: 3
    Last Post: 04-02-2013, 06:02 PM
  3. VBA - Populate Listbox based on value selected in another ListBox (On Userform)
    By raaboo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-12-2012, 11:18 AM
  4. Combobox: How to determine the location of the selected item if combobox has rowsource
    By ahsanzafar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2012, 03:24 PM
  5. Populate ListBox Based On Item Chosen In Another ListBox
    By davemojo82 in forum Excel General
    Replies: 1
    Last Post: 08-04-2009, 08:39 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