+ Reply to Thread
Results 1 to 5 of 5

Excel Userform - Advanced Search and Filter Functionality

  1. #1
    Registered User
    Join Date
    11-30-2017
    Location
    Sussex, England
    MS-Off Ver
    Office 2010
    Posts
    3

    Excel Userform - Advanced Search and Filter Functionality

    Hello,

    I've been working on an Excel spreadsheet that will act as a parking permit database. It will contain several thousand entries, so the requirement is for there to be a user form, from which new records can be added, or existing records searched for and edited or deleted.

    To help me with this, I found a very useful series of guides here: http://www.onlinepclearning.com/edit...om-a-userform/

    Following that guide I was able to correctly set up the example spreadsheet they provide and get it working correctly.

    I then created my own spreadsheet, based on this - although it will contain a lot more data.

    Most functionality is working except the search function from within the Userform.

    From what I can tell, the search function within the userform does not pull over the data from columns B5:AJ5 to AR5:BZ5 as it does when using the Macro on Sheet2 (In Sheet2 the search term is input into cell AP6, then Macro is activated by pressing Ctrl+Shift+A). The data that is copied is then picked up by the 'outdata' named range.

    If working correctly I can import all the data, or a matched search, and have it display on the list box within the form.

    I can then edit or delete the data within the form.

    I've trawled through the code for some time, but can't identify what is missing! Any help offered would be much appreciated.

    The spreadsheet is attached.

    Thanks for your help. Hope the above is clear, but let me know if I can provide further info.

    Kieron

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Excel Userform - Advanced Search and Filter Functionality

    This will populate the listbox

    Please Login or Register  to view this content.
    Kind regards
    Leo

  3. #3
    Registered User
    Join Date
    11-30-2017
    Location
    Sussex, England
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Excel Userform - Advanced Search and Filter Functionality

    Hi Leo,

    Thank you for your response. This code works perfectly!

    Best wishes

    Kieron

  4. #4
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Excel Userform - Advanced Search and Filter Functionality

    Hi Kieron,

    glad i could help, is there a reason why the status of case is not Solved ?
    if you forgot, please do now

    Kind regards
    Leo

  5. #5
    Registered User
    Join Date
    11-30-2017
    Location
    Sussex, England
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Excel Userform - Advanced Search and Filter Functionality

    I've just marked the thread as Solved!

    Thanks

    Kieron

+ 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. Excel VBA Userform database search - Advanced Filter
    By AmirHub in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-01-2017, 08:40 AM
  2. Advanced Filter displayed on Userform's Listbox
    By brainzlp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2016, 04:57 AM
  3. [SOLVED] VBA Userform - Search, Edit & Update functionality
    By camp2chiawa in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-15-2016, 03:43 AM
  4. Advanced filter complex combination search
    By gerardgerard in forum Excel General
    Replies: 2
    Last Post: 03-11-2016, 01:15 AM
  5. Replies: 1
    Last Post: 07-11-2013, 02:27 AM
  6. Userform: Make a advanced filter script "filter" when a combobox is altered
    By Zheno in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-09-2010, 04:06 AM
  7. Using advanced filter to search for criteria in a list
    By Potatosalad2 in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 11:05 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