+ Reply to Thread
Results 1 to 2 of 2

Form Control to search for keywords and open File

  1. #1
    Forum Contributor
    Join Date
    04-19-2016
    Location
    Michigan
    MS-Off Ver
    15.0
    Posts
    130

    Form Control to search for keywords and open File

    Good morning folks,

    I have a 3 column layout to organize my files, their keyword and their local links.

    xccFH0b.png

    I wonder if, by using UserForm, I can build a small search engine to query and open my files by keywords? Something like this:

    Auto complete by filling the rest of the keyword text and locate file(s) that share those keywords.
    xbqOoh4.png

    It would also be nice if it can recognize any part of the keyword, not just the beginning. For example:

    3GJWnbc.png

    and obviously, clicking on one of the recommendations will launch that spreadsheet using the link in Column F via something like

    Please Login or Register  to view this content.
    Thanks a lot, this will help me stay very organized and query information rather quickly.
    Attached Images Attached Images

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Form Control to search for keywords and open File

    I would use this sort of method for the Listbox. Here is the link since file attach did not work:
    https://www.dropbox.com/s/ztnr49hf4r...tbox.xlsm?dl=0

    Right click the sheet's tab and View Code to see how I called it from the sheet. You can use it in other ways as well.

    Once you have the value, you can do a find for the same range that you used to fill it. After that range is found, an Offset is used to get the path.

    Attach a simple file if you get stuck.

+ 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. Why is the DatePicker control changing Sizes when I re-open File?
    By ions in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: Yesterday, 04:08 AM
  2. [SOLVED] Search for keywords and copy rows containing keywords to new sheet
    By lenorsk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2013, 06:54 AM
  3. Macro to filter data to search terms selected from ComboBox (Form Control)
    By JasonRay in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2013, 05:08 PM
  4. VBA to control an user form in another macro file
    By Kiran.Sunkara in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-28-2012, 03:13 AM
  5. [SOLVED] Search for a specific form control button
    By gotama in forum Excel General
    Replies: 8
    Last Post: 11-28-2012, 10:56 AM
  6. [SOLVED] Macro To Open A Hidden Worksheet When Button (Form Control) Is Clicked
    By obwales in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-25-2012, 12:55 AM
  7. Open Word file form Excel using VBA and file path
    By psychoPETE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-05-2010, 07:02 PM
  8. [SOLVED] How open excel file with microsoft spreadsheet control in ASP.Net
    By Sanjeev Walia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2005, 04:06 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