+ Reply to Thread
Results 1 to 8 of 8

I created an Excel add-in called “Search deList”, to create searchable data validation

  1. #1
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    I created an Excel add-in called “Search deList”, to create searchable data validation

    I created an add-in called “Search deList”, and I want to share it as a freeware.
    Its function is to speed up searching in data validation list. In any cell that has data validation (with List type) pressing ALT+RIGHT will open a Userform with a combobox. You can type some keywords in the combobox and the list will be narrowed down as you type.
    I’d be appreciate if anyone can test this add-in to find any bugs or just suggesting ideas to improve its functionality.
    Also, if anyone needs to change or add specific feature or behavior then feel free to amend the code, and if you need help for that I’ll help if I can.

    How it works:
    • In any cell that has data validation (with List type) pressing ALT+RIGHT will open a Userform with a combobox.
    • Type some keywords to search, separated by a space, e.g "ma la"
    • The list will be narrowed down as you type.
    • The search ignores the keywords order, so the keyword "ma la" would match "Maryland" and "Alabama".
    • You can use up-down arrow to select an item, then hit ENTER, the selected item will be inserted into the cell, and the userform will be closed.
    • You can also use single-click to select an item, then DOUBLE-CLICK inside the box, the selected item will be inserted into the cell, and the userform will be closed.
    • To leave the combobox without inserting its value to the activecell: hit TAB or ESC
    • Numeric values in the list will be treated as text.
    • In the Status Bar you can see how many unique items are found & displayed.



    Additional feature :
    If you want, you can also activate the userform by double-clicking a cell, but you need VBA to do that. Here’s how:
    Copy-paste this code into Thisworkbook code window of your workbook:
    Copy to clipboard
    Please Login or Register  to view this content.
    Now, in every sheet, double-clicking any cell that has data validation (with List type) will open the Userform.

    How to test it:
    Install the add-in. This is how: https://exceloffthegrid.com/install-...all-excel-add/
    Open any workbook that has data validation (with list type).
    In any cell that has data validation, pressing ALT+RIGHT will open a Userform with a combobox.
    Play with it & see how it works.

    NOTES:
    • This add-in also works for dependent data validation.
    • One caveat of using macro is when macro changes/writes something on sheet it will delete Undo Stack, so at that time you can't use UNDO. In this case it happens every time the combobox value is inserted into the active cell.


    There are 2 versions:
    1. Search_deList_v1
    It should work on Excel 2007 or later.
    2. Search_deList_v365
    It should work on Excel 365 or later that has dynamic array function. This version is faster than v_1, especially when you have a long list, say more than 20K items.

    Regards,
    Akuini
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-10-2023
    Location
    India
    MS-Off Ver
    office 365
    Posts
    1

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    I would like to use the double click function to run the add-in without using a separate macro. Would that be possible? Can the double click function be added to the code that runs the add-in? If it is possible please let me know how.

  3. #3
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    Quote Originally Posted by Tarun Suri View Post
    I would like to use the double click function to run the add-in without using a separate macro. Would that be possible? Can the double click function be added to the code that runs the add-in? If it is possible please let me know how.
    Sorry, double-clicking a cell is an event that is part of workbook or worksheet events, so the macro must be placed in the workbook.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    "This file type is not supported in protected view."

    What does this mean? Some security setting?
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    Quote Originally Posted by Jacc View Post
    "This file type is not supported in protected view."

    What does this mean? Some security setting?
    I think so, please check this article on how to deal with this problem:
    https://medium.com/lets-excel/micros...l-ae01a0c5405b

    OR

    In Windows Explorer > Right-click the file, > properties > Security, uncheck Unblock.
    Last edited by Akuini; 05-28-2023 at 08:15 AM.

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    Ok thanks, I got to open it now.

    But I cannot get it to work. I made a single cell datavalidation based on a list of 4 cells. I selected the datavalidationcell and hit Alt + Right arrow but nothing happens.

  7. #7
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    Quote Originally Posted by Jacc View Post
    Ok thanks, I got to open it now.

    But I cannot get it to work. I made a single cell datavalidation based on a list of 4 cells. I selected the datavalidationcell and hit Alt + Right arrow but nothing happens.
    Open VBA window, do you see VBAproject Search_deList there?

    Name:  vbe search deList.jpg
Views: 194
Size:  73.9 KB

  8. #8
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: I created an Excel add-in called ?Search deList?, to create searchable data validation

    Quote Originally Posted by Jacc View Post
    Ok thanks, I got to open it now.

    But I cannot get it to work. I made a single cell datavalidation based on a list of 4 cells. I selected the datavalidationcell and hit Alt + Right arrow but nothing happens.
    Wait, by opening it, you mean you have installed it as an add-in, right?

+ 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: 8
    Last Post: 02-22-2021, 04:21 AM
  2. Searchable Data Validation list
    By asad.ermo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2020, 04:20 AM
  3. [SOLVED] VBA Possibly: Searchable list while using data validation through a named range in a table
    By AMoreno in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 10-03-2019, 10:47 AM
  4. Searchable Data Validation Lists
    By MrExcel1991 in forum Excel General
    Replies: 1
    Last Post: 09-14-2018, 12:57 PM
  5. create a searchable excel document
    By jeffpanagos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2013, 10:28 PM
  6. Create a searchable data sheet
    By danishaikh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2012, 11:33 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