Consulting

Results 1 to 5 of 5

Thread: Solved: userform to populate the list box with values

  1. #1

    Solved: userform to populate the list box with values

    Hi All,

    I am trying to develop a userform. Attached is the same. Col A- contains member IDs, Col B - Claim Numbers, Col C - Country, Col D - Amount.

    I prepared a user form, which takes the input for member ID, based on the ID it will sum up the amount for "Brazil" under that member ID. This was working fine.

    Now I got a new task to add a list box which will populate the claim numbers under the member ID given as input.

    I couldnt use vlookup as its not just 1 value to populate.

    How can i autopopulate the listbox with the claimnumbers based on the input given in memberiD textbox.

    Attached file will give you the clear idea.


    Thanks in advance
    Attached Files Attached Files

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    Do you need a userform?
    See pivot table in attached.
    Attached Files Attached Files
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    Hi P45cal,

    Thanks for you help.I need a listbox as I need to build my remaining code based on it. Basically the users will be inputting the member id. so I need to display only the data relevant to that member id.

  4. #4
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    Try the attached.
    Attached Files Attached Files
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  5. #5
    Thanks a Lot p45cal.. This is what I actually required thanks so much...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •