+ Reply to Thread
Results 1 to 9 of 9

Search in List Box

  1. #1
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Search in List Box

    Hi All Experts in Excel Forum!

    I am having a trouble about search in list box.
    I want when I write in Text Box then List Box should show the rows only contains the searched value.

    I attached a sample file.

    Please give me some solution as soon as early.

    Thanks

    Amir
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Search in List Box

    Here is an option... replaces ALL code in your current form, no need for the initialize to assign any values to the listbox:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Search in List Box

    Thanks Arkadi
    You did very well

    But when I add more columns then this show only 1st column.

    Can you add any other code

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Search in List Box

    Your example had only one column so I worked to that example. Can you explain what add "more columns means? will they also need to be a list item, or they need to be reflected as separate columns in the listbox? An example of what will really be happening would be good if possible?
    Then yes, if I understand what you need, I'll be happy to modify

  5. #5
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Search in List Box

    Please see this attachment
    Attached Files Attached Files

  6. #6
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Search in List Box

    for 3 columns:

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Search in List Box

    Thank you so much
    You did great job

  8. #8
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Search in List Box

    If we fill list box with text boxes and list is not linked with sheet.
    Then can we search text like this.

    Is it possible?

  9. #9
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059
    I am sorry, i don't understand the request?

+ 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. Formula issue, match list to search list
    By mrogowski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-01-2013, 12:04 AM
  2. [SOLVED] search a list and return a value if in another list
    By jjc839 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 07:18 PM
  3. Skakes in the Summer
    By lowryda777 in forum Excel General
    Replies: 2
    Last Post: 06-27-2012, 10:29 AM
  4. Search Multiple Worksheets Against List of Non-Exact Search Criteria?
    By thump4r in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 03:46 PM
  5. List Search Time & Then List Next Search Results on Next Available Line
    By R_S_6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2009, 09:39 AM

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