Consulting

Results 1 to 3 of 3

Thread: Solved: Get values from a multi columns listbox

  1. #1
    VBAX Regular
    Joined
    Dec 2004
    Posts
    93
    Location

    Question Solved: Get values from a multi columns listbox

    I have a listbox with 3 columns. The bound column = 1. When I select an item in the listbox I would like to get the value from column2 and column3 and place them in txtbox1 and txtbox2. How to reference column2 and column3?

    Thank you in advance.

  2. #2
    VBAX Contributor moa's Avatar
    Joined
    Nov 2006
    Posts
    177
    Location
    [VBA]txtBox1.value = cmbMyCombo.Column(2)[/VBA]
    Glen

  3. #3
    VBAX Regular
    Joined
    Dec 2004
    Posts
    93
    Location
    That was quick. Thank you, Glen.

Posting Permissions

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