+ Reply to Thread
Results 1 to 2 of 2

Select UserForm ListBox value from matching value

  1. #1
    Registered User
    Join Date
    02-22-2017
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    9

    Select UserForm ListBox value from matching value

    I have cells from a worksheet which contains substrings delimited in ","

    For each of these cells, i want to select the values from a corresponding UserForm ListBox that matches each of the substring values.

    What is the best way to code this out?

    Thanks.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Select UserForm ListBox value from matching value

    Try this:-
    NB:- Substrings taken to be in column "A".

    NB:- Userform Has controls:- "ListBox1" and Commanbutton1
    NB:- ListBox filled by "Rowsource"
    Please Login or Register  to view this content.
    Regards Mick

+ 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. [SOLVED] if anything in listbox select first item, if listbox empty do nothing (listbox in userform
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2015, 12:49 PM
  2. Is it possible to pre-select an item in a ListBox in a Userform?
    By bananajelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2014, 02:14 PM
  3. [SOLVED] Clear UserForm Multi Select ListBox
    By jaslake in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2014, 12:19 AM
  4. select name in listbox in userform and view details
    By simeonmein in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2013, 02:02 PM
  5. Listbox to select and display multiple matching information from range
    By Mewhew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2011, 04:41 AM
  6. Select Cells from Listbox on Userform
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-24-2011, 08:35 AM
  7. UserForm;Listbox Select Show Picture
    By samsara in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-08-2009, 09:48 AM

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