+ Reply to Thread
Results 1 to 5 of 5

Help with userform (trying to read data from table into combo list)

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    57

    Help with userform (trying to read data from table into combo list)

    I am hopelessly trying to get a simple combo list to work.

    The table is on Sheet 2. User must be able to pick width first, then depth combo list should pop up and then once depth is chosen, the corresponding part number should pop up in the same window.

    If someone could help me out with this code, I'd really appreciate it. I have about 20 sheets with as many tables that need to be managed on individual userforms and then finally linked with a main page userform. That I think I've figured out but I can't get these combo boxes to work.
    Attached Files Attached Files
    Last edited by EK1; 03-05-2010 at 10:19 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2405
    Posts
    25,002

    Re: Help with userform (trying to read data from table into combo list)

    I think VBA and user forms is overkill for this problem. Please see the attached and see if this gets you want you need using just Excel worksheets.

    If you're dead set on using userforms I can take a second look and help with that.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-01-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Help with userform (trying to read data from table into combo list)

    Thanks for that. That works but the problem is that sometimes, the table could be referenced like a family tree basically with about 5-6 levels and then finally the table would be used. Up until then, the user should be able to navigate and find different parts of the product and through the different branches in the program. I was thinking of doing that through userforms. If I could somehow incorporate tables into userforms also, then the entire program would look good and be very simple to use.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2405
    Posts
    25,002

    Re: Help with userform (trying to read data from table into combo list)

    I went back to work on your original request, please see attached. To do a full-blown solution would take more time than I can offer, but hopefully this shows you how to do it. I think you'll see why I suggested a worksheet solution; you need a bit more code than what you anticipated.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-01-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Help with userform (trying to read data from table into combo list)

    Thank you Jazzer. You're right, this might be a bit beyond me at this point and I'll stick to drop down lists, etc.

+ Reply to 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