+ Reply to Thread
Results 1 to 3 of 3

list boxes - multiple row sources?

  1. #1
    Registered User
    Join Date
    02-24-2006
    Posts
    1

    list boxes - multiple row sources?

    Hi,

    Im new to the world and headaches of excel VBA, just wondering what the syntax is for multiple row selection in the row source property of a list box (for a form) ? any help would be greatly appreciated...


    Even better, what I'm trying to acheive is effectivly text box filter that will reduce the content (from everything) of a list box. The fields I want are client number (xxx), client name (first) and client name (second). As the user types in the first letters of these three fields the contents of the list box reduce to the point where only one selection remains. The data source for these fields are three rows in a sheet.

    Help greatly appreciated.!

    Cheers

    Adam

    [email protected]

  2. #2
    dmexcel
    Guest

    Re: list boxes - multiple row sources?

    Hi Adam,
    Do a search in your excel forum, or search contextures web page and
    look for dependent dropdown lists, I thinks that may help you out


  3. #3
    Tom Ogilvy
    Guest

    Re: list boxes - multiple row sources?

    Closest built in capability I could think of is a Combobox on a userform
    where you set the MatchEntry property to FmMatchEntryComplete

    This doesn't reduce the list, but moves through a sorted list

    Otherwise you would have to program the functionality and would not be able
    to use RowSource, but need to use AddItem, clearing and rebuilding the list
    on each keystroke.

    --
    Regards,
    Tom Ogilvy



    "themangostays" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi,
    >
    > Im new to the world and headaches of excel VBA, just wondering what the
    > syntax is for multiple row selection in the row source property of a
    > list box (for a form) ? any help would be greatly appreciated...
    >
    >
    > Even better, what I'm trying to acheive is effectivly text box filter
    > that will reduce the content (from everything) of a list box. The
    > fields I want are client number (xxx), client name (first) and client
    > name (second). As the user types in the first letters of these three
    > fields the contents of the list box reduce to the point where only one
    > selection remains. The data source for these fields are three rows in a
    > sheet.
    >
    > Help greatly appreciated.!
    >
    > Cheers
    >
    > Adam
    >
    > [email protected]
    >
    >
    > --
    > themangostays
    > ------------------------------------------------------------------------
    > themangostays's Profile:

    http://www.excelforum.com/member.php...o&userid=31879
    > View this thread: http://www.excelforum.com/showthread...hreadid=516083
    >




+ Reply to 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