+ Reply to Thread
Results 1 to 3 of 3

How to Return Selected in MultiColumn MultiSelect Listbox?

  1. #1
    Registered User
    Join Date
    10-18-2010
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2007
    Posts
    47

    Question How to Return Selected in MultiColumn MultiSelect Listbox?

    This is my first attempt at a multi-column multi-selectable listbox and I have gotten very confused trying to return the selected item(s). The listbox has three columns and I need to return the value(s) in the second column of all selected items. How do I do this?

    Thank you!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: How to Return Selected in MultiColumn MultiSelect Listbox?

    Hello Kristy,

    To return selected items from a MuliSelect ListBox, you must step through all items in the ListBox and check the Selected property for each one.

    This macro checks ListBox1 for any selected items. The variable Data holds the value of the second column.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    10-18-2010
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: How to Return Selected in MultiColumn MultiSelect Listbox?

    Ahh, now I understand. My form is working. Thank you!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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