Closed Thread
Results 1 to 3 of 3

Bound Combo box in userform

Hybrid View

  1. #1
    Jennifer
    Guest

    Bound Combo box in userform

    Hello Hello,
    I have a userform with a bound combo box, I have it set as so . . .
    BoundColumn: 2
    ColumnCount:1
    I would like the value in the first column to be placed on Sheet1 and the
    value in the second column placed in Sheet2. I am not having any problems
    with Sheet1 its getting the second value to the second page without having
    the user reselect the data. Ideas?

    Also, i am using xl2000 and when i try to use vlookup or lookup for that
    matter in vba it says its not supported. Any way around that or am i stuck.
    Thanks for the help. Jennifer
    --
    Though daily learning, I LOVE EXCEL!
    Jennifer

  2. #2
    Ivan Raiminius
    Guest

    Re: Bound Combo box in userform

    Hi Jennifer,

    I am not sure that I fully understood your scenario, so this is just
    guess what you need:

    value=combobox1.list(combobox1.listindex,1)

    value is from second column (first column is 0), from selected row. If
    nothing is selected (listindex = -1), you will get an error (so you
    must check first if something is selected (listindex<>-1)).

    Please let me know if you need more help.

    Regards,
    Ivan


  3. #3
    Jennifer
    Guest

    Re: Bound Combo box in userform

    You got it! Thank you!
    --
    Though daily learning, I LOVE EXCEL!
    Jennifer


    "Ivan Raiminius" wrote:

    > Hi Jennifer,
    >
    > I am not sure that I fully understood your scenario, so this is just
    > guess what you need:
    >
    > value=combobox1.list(combobox1.listindex,1)
    >
    > value is from second column (first column is 0), from selected row. If
    > nothing is selected (listindex = -1), you will get an error (so you
    > must check first if something is selected (listindex<>-1)).
    >
    > Please let me know if you need more help.
    >
    > Regards,
    > Ivan
    >
    >


Closed 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