+ Reply to Thread
Results 1 to 7 of 7

Help withRetrieving Multiselect Listbox entries into different columns

  1. #1
    Registered User
    Join Date
    02-03-2009
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    30

    Help withRetrieving Multiselect Listbox entries into different columns

    Hi All

    I need get capture the multiselect listbox entries into different columns.

    See attached example userform.

    Each selection needs to be captured under the correct column heading in sheet2.

    I am able capture rest of the user form inputs but also having problem in clearing the form specifically listboxes.

    Any help is welcome.

    Kind regard

    Johny
    Attached Files Attached Files
    Last edited by Johny1; 04-10-2014 at 04:21 AM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help withRetrieving Multiselect Listbox entries into different columns

    Hi

    Look at these subroutines:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-03-2009
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Help withRetrieving Multiselect Listbox entries into different columns

    Selam
    Thanks for the pointers but I could not get head round it.
    I just want to see listbox selections appearing in columns next to each other in the same row whenever the user submits the userform entries.

    Tesekkurler

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,628

    Re: Help withRetrieving Multiselect Listbox entries into different columns

    modify module1:
    Please Login or Register  to view this content.
    In Client, add
    Please Login or Register  to view this content.
    Modify the submit code:
    add: Dim Ndx As Long

    Then modify the With:
    Please Login or Register  to view this content.
    Modify CLEAR:
    Please Login or Register  to view this content.
    Last edited by protonLeah; 04-06-2014 at 09:08 PM.
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    02-03-2009
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Help withRetrieving Multiselect Listbox entries into different columns

    protonLeah

    Thank you very much. this resolves my problem perfectly.
    Multiselection listbox would still not clear though, however I can find a solution for this.

    Thanks again for your help and time.

    Johny

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Help withRetrieving Multiselect Listbox entries into different columns

    You can use this to clear the selections in the listbox.

    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  7. #7
    Registered User
    Join Date
    02-03-2009
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Help withRetrieving Multiselect Listbox entries into different columns

    Perfect

    Once again thank you very much for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy Selected items from multicolumn, multiselect listbox to another listbox
    By Willigb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2013, 11:27 AM
  2. Listbox (MultiSelect)
    By CobraLAD in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-13-2008, 11:58 PM
  3. [SOLVED] Multiselect Listbox use
    By RKS in forum Excel General
    Replies: 1
    Last Post: 05-12-2006, 10:10 AM
  4. [SOLVED] Bug in multiselect listbox?
    By Jos Vens in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2006, 04:45 PM
  5. [SOLVED] multiselect listbox backcolor
    By Russ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-01-2005, 07:05 PM

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