+ Reply to Thread
Results 1 to 10 of 10

MultiColumn Combo Box on Userform

  1. #1
    Registered User
    Join Date
    09-28-2015
    Location
    RI, USA
    MS-Off Ver
    2010
    Posts
    42

    MultiColumn Combo Box on Userform

    I need this combo box to load multiple columns for knowledge selection from the list and can't seem to get it to work.

    Please Login or Register  to view this content.
    Recordset fields 2,3,8,4 help identify the correct record.

    This loads all the data correctly in the 20 fields of the records, but the combo box only shows the name so that when they are choosing, they cannot see enough associated data to make a logical choice. All the fields on the form are read only and so the entire lookup happens from 1 combobox.



    Appreciate any help.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: MultiColumn Combo Box on Userform

    Have you set the column widths in the Properties?

    EDIT that: You're only telling it to populate with one column so where do you expect it to get the rest of the data from?
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: MultiColumn Combo Box on Userform

    In addition to the above, you also need to set the column count

  4. #4
    Registered User
    Join Date
    09-28-2015
    Location
    RI, USA
    MS-Off Ver
    2010
    Posts
    42

    Re: MultiColumn Combo Box on Userform

    I set columns to 6 in the properties box of the combobox TCOName and set the widths to the widths for the six columns. It only loads the Names.

    Is the TCOName.column = Get Rows() where the six column definition goes and what would be the syntax for that entry?

    I.E TCOName.columns = GetRows 1,4,6,3 etc ()

  5. #5
    Registered User
    Join Date
    09-28-2015
    Location
    RI, USA
    MS-Off Ver
    2010
    Posts
    42

    Re: MultiColumn Combo Box on Userform

    What would be the settings in the combo box properties on the form or does the settings name here carry into that box?

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: MultiColumn Combo Box on Userform

    Reread, the post above, you're missing the point, this:
    Please Login or Register  to view this content.
    Only selects the names, that's why that's all your getting

  7. #7
    Registered User
    Join Date
    09-28-2015
    Location
    RI, USA
    MS-Off Ver
    2010
    Posts
    42

    Re: MultiColumn Combo Box on Userform

    So the syntax for that should be
    Please Login or Register  to view this content.
    ?

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: MultiColumn Combo Box on Userform

    Yes, depending on the field names

  9. #9
    Registered User
    Join Date
    09-28-2015
    Location
    RI, USA
    MS-Off Ver
    2010
    Posts
    42

    Re: MultiColumn Combo Box on Userform

    Thanks I will try that when I get home and hopefully that will solve this thread.

  10. #10
    Registered User
    Join Date
    09-28-2015
    Location
    RI, USA
    MS-Off Ver
    2010
    Posts
    42

    Re: MultiColumn Combo Box on Userform

    Thank you so much. Still trying to get used to many ways to accomplish similar things and which one to use in each location. Your help is very appreciated

+ 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] Sort for multicolumn listbox in userform (5-columns)
    By d.sanchez in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-11-2017, 05:30 AM
  2. VBA Userform combo box - need to enable user to add new item if not listed in combo box
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2015, 07:25 PM
  3. [SOLVED] Need to populate a multicolumn listbox using the value of a combo box
    By wingnut74 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2014, 03:19 PM
  4. Loading MultiColumn Combobox in a Userform
    By anandvh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2014, 10:47 AM
  5. Combo Box Userform To Open 2nd Combo Box
    By WPJensen in forum Excel General
    Replies: 8
    Last Post: 03-10-2011, 06:33 AM
  6. Combo box within Userform
    By wilwhiting in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2008, 05:14 AM
  7. Combo Box up in the userform
    By koda86 in forum Excel General
    Replies: 2
    Last Post: 06-19-2007, 06:27 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