+ Reply to Thread
Results 1 to 7 of 7

Multi Selection Listbox

  1. #1
    Registered User
    Join Date
    08-12-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    25

    Multi Selection Listbox

    Hello guys,
    I am struck at some point, I searched and found many articles here but none helped me,
    My problem is I am making a listbox with multiple selection but unable to apply for loop
    I know its silly but I am really struck here, its unable to find the listbox itself don't know why??
    Please guys help me.
    I have attached my excel with it, please have a look on its code.
    Thanks
    Attached Files Attached Files
    Last edited by protocol; 08-18-2011 at 03:28 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Multi Selection Listbox

    Please Login or Register  to view this content.

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Multi Selection Listbox

    if it's an activeX-listbox, and the listbox contains a one-dimensional array:

    Please Login or Register  to view this content.



  4. #4
    Registered User
    Join Date
    08-12-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Multi Selection Listbox

    wow thanks a lot guys, Though i have solved it myself but still thanks a lot to Snb and Bob. +rep for you guys
    Can you tell me how to add unique values in the above active x listbox.
    This is my code :

    Please Login or Register  to view this content.
    Last edited by protocol; 08-17-2011 at 02:30 AM.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Multi Selection Listbox

    If the original question has been solved, then mark it solved. Then sk the new question in a new thread, with a link to this one if necessary
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    08-12-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Multi Selection Listbox

    Quote Originally Posted by royUK View Post
    If the original question has been solved, then mark it solved. Then sk the new question in a new thread, with a link to this one if necessary
    Sure
    short message damn ...

  7. #7
    Registered User
    Join Date
    08-12-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Multi Selection Listbox

    @Snb
    This code is giving some error, its saying Syntax error
    This is the code :

    Please Login or Register  to view this content.
    Last edited by protocol; 08-18-2011 at 03:39 AM.

+ 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