+ Reply to Thread
Results 1 to 3 of 3

Listbox- Is it possible to do this with listbox ?

  1. #1
    Forum Contributor vandanavai's Avatar
    Join Date
    09-04-2006
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256

    Listbox- Is it possible to do this with listbox ?

    I have Listbox on my User Form with 10 items say "A", "B","C", and so on.
    I wnt User to select any one item or any two or three items or even all items. Whatever user selects will be transferred in one cell only like "a","C" .

    Is it possible to do this with listbox ?

    if yes please help me.

    Thanks in advance for any suggestions

  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,259
    Hello Vandanavai,

    Set the MultiSelect property of the ListBox to "fmMultiSelectExtended". Then place a CommandButton on your UserForm and copy the code below into the CommandButton's Click event procedure.

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

  3. #3
    Forum Contributor vandanavai's Avatar
    Join Date
    09-04-2006
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256
    Thanks a lot Leith Ross. This is what I was looking for.

+ 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