+ Reply to Thread
Results 1 to 4 of 4

Search as you type in a textbox: need to filter Dynamically created checkboxes)

  1. #1
    Registered User
    Join Date
    09-27-2012
    Location
    Mumbai, IN
    MS-Off Ver
    Office 365
    Posts
    97

    Search as you type in a textbox: need to filter Dynamically created checkboxes)

    On userform activate i add a list of dynamically created checkboxes from a range list in the sheet. what i want to do is...to have a textbox which is able to filter the checkboxes based on captions or name

    for example as i type in the textbox the suggested matches should be filtered to a list (or listbox) so that the user can check mark it instead of going throuhg the long list..
    please help
    Attached Files Attached Files
    Last edited by yoursamrit2000; 02-05-2015 at 07:02 PM.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Search as you type in a textbox: need to filter Dynamically created checkboxes)

    Rather than creating text boxes at run time, you could use a Multi-Select ListBox with the ListStyle set to Option.

    I'm not sure where you are getting the captions for you checkboxes. This code has a UDF that creates an array of all the possible options.
    There is code that then filters that depending on the text box entry.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    09-27-2012
    Location
    Mumbai, IN
    MS-Off Ver
    Office 365
    Posts
    97

    Re: Search as you type in a textbox: need to filter Dynamically created checkboxes)

    hbhbfgdngdngfndfgnhgfhfd
    Attached Files Attached Files
    Last edited by yoursamrit2000; 04-02-2015 at 07:04 PM.

  4. #4
    Registered User
    Join Date
    09-27-2012
    Location
    Mumbai, IN
    MS-Off Ver
    Office 365
    Posts
    97

    Re: Search as you type in a textbox: need to filter Dynamically created checkboxes)

    See this amy help
    Attached Files Attached Files

+ 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. Replies: 0
    Last Post: 06-22-2014, 04:18 PM
  2. [SOLVED] VBA code to filter listbox as you type in a textbox Solved by : Sixthsense
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-27-2014, 10:51 AM
  3. VBA Code To Filter Listbox As You Type In A Textbox
    By Benjamin2008 in forum Excel General
    Replies: 3
    Last Post: 12-20-2013, 08:57 PM
  4. Changing Font Color of Dynamically created CheckBoxes
    By craigba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2011, 07:17 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