+ Reply to Thread
Results 1 to 10 of 10

Excel VBA combobox , Listfill

  1. #1
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Excel VBA combobox , Listfill

    Hello

    i am try to lern how ta add a combobox an listfill / maybe without VBA if that better, i dont know as i am newbie to this

    Below is a picture of my Sheet2 "Data", the first colum Colum A i want to show in combobox on Sheet1 "EMVC"

    Lets say combobox in Sheet1 "EMVC" is in cell B5 open A3 "SHS 20 / 2" then i want to fill out the rest, i can not figure out how to do
    Attached Images Attached Images
    Last edited by dodde; 02-10-2020 at 08:43 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,309

    Re: Excel VBA combobox , Listfill

    missed the yellow banner at the head of the page, it is a lot easier to manipulate an actual sheet than a picture

  3. #3
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Excel VBA combobox , Listfill

    Hello

    Sorry, i can put Workbbook here to
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,109

    Re: Excel VBA combobox , Listfill

    Change the linked cell of the combo to B5 & put this formula in C5 & copy across
    =INDEX(Data!B$3:B$144,MATCH($B5,Data!$A$3:$A$144,0))

  5. #5
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Excel VBA combobox , Listfill

    Hello

    Thank you, can i just ask why some use VBA

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,109

    Re: Excel VBA combobox , Listfill

    Just depends on the complexity. In this case a simple formula will do what you asked, so (IMO) there is no point in using VBA.

  7. #7
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Excel VBA combobox , Listfill

    Hello

    I must open this again , i have problem with zoom in combobox i also look at this thread "Combobox size and list within keep shrinking"

    I did see i can use a formbox, but i can not get this code to work =INDEX(Data!B$3:B$144,MATCH($B5,Data!$A$3:$A$144,0))

    Must i use a vba to do this code maybe, i have searced and can not finf any solutions, with a Active -X i get this problem
    Attached Files Attached Files
    Last edited by dodde; 02-10-2020 at 06:14 AM.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,109

    Re: Excel VBA combobox , Listfill

    As this is now a totally different question, you will need to start a new thread.
    Thanks

  9. #9
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Excel VBA combobox , Listfill

    Hello

    I found this vba and it works, is it posible to make it for all comboboxes or must i du it for each


    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    02-27-2015
    Location
    Norge
    MS-Off Ver
    2019
    Posts
    570

    Re: Excel VBA combobox , Listfill

    Hello

    i see now we answer the same time i will make this solved again

+ 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. [SOLVED] vba excel - Filtering userform combobox based on separate combobox using identifiers
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-02-2017, 08:08 PM
  2. [SOLVED] ComboBox to populate Listbox and 2nd Combobox based on 1st combobox dropdown choice
    By bbqqsmokeman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2017, 08:21 PM
  3. [SOLVED] combobox (ActiveX) ListFill, ListRows & Horizontal Ranges
    By BuZZarD73 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-17-2014, 06:41 AM
  4. Populating Combobox based on Combobox selection from EXCEL worksheet
    By JChaney17 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-04-2014, 08:14 AM
  5. [SOLVED] Excel Userform: Populate other controls (i.e. textbox & combobox) based on combobox select
    By MileHigh_PhD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 04:50 PM
  6. Getting a Combobox in VBA Excel to change based on a value of the first Combobox
    By msaunde2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2012, 11:24 AM
  7. Changing ListFill in a shared WKB
    By jose luis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2005, 09:05 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