1

I created a userform with a combo dropdown list. I got it to work in general.

My issue is, is that I can only bound it to one column from what I can tell. In the screenshot for example has 3 columns. Is there a way to pull all 3 columns? perhaps enter them in a text box in the userform?

Thank you!

Userform Dropdown Screenshot

I've only tried to play with the BoundColumn properties, I don't know how else to achieve it what I am looking for.

Properties Screenshot

1
  • Please share the relevant (best complete) code and a detailed description of how it fails. Commented Dec 4, 2024 at 17:48

1 Answer 1

1

We can access the ComboBox data using its List and use its ListIndex property to get the current row of data.

Private Sub ComboBox1_Change()
    With ComboBox1
        Debug.Print .List(.ListIndex, 0), .List(.ListIndex, 1), .List(.ListIndex, 2)
    End With
End Sub
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.