+ Reply to Thread
Results 1 to 6 of 6

Require search function to populate information to listbox.

  1. #1
    Registered User
    Join Date
    06-28-2019
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    3

    Post Require search function to populate information to listbox.

    Hello all, I would really like help with an on-going issue I have.

    I have been trying to create a spread sheet of three sheets serving different functions. I feel I really have bitten off more than I can chew with it though.

    I require each sheet to serve the following functions:

    Sheet one - Main user sheet- search function with display of results. - All users
    Sheet two - Department information Database for sheet one to search from. - Administrators
    Sheet three - General data sheet for dropdown options on sheet two. - Management and information control.

    I have looked at a few ways of doing this, the most obvious way is a VBA using a text box for input, a search button for triggering the search and a list box for displaying the results.

    In relation to sheets two and three, I think I've got that covered, unless I'm missing a trick.

    I would really appreciate some (or a lot) of help with the VBA for getting this to work. I have tried various approaches with no success and I'm close to giving up on it.

    Thank you.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Require search function to populate information to listbox.

    Can you attach a copy of your file (de-sensitized if necessary) and explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples form your data?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Hi !

    In fact that almost not needs any VBA procedure - easier for a very beginner ! - just using some Excel basics
    like here an advanced filter, to see in Excel help and at beginner level !

    As a reminder database is not the Excel cup of tea,
    I hope you do not have huge data in order to avoid to start with a non appropriate tool …

  4. #4
    Registered User
    Join Date
    06-28-2019
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    3

    Re: Require search function to populate information to listbox.

    Hello again, sorry for the late reply, I was unable to access the spread sheet in question due to being in work.
    I have added notes into the sheet itself after removing and replacing all of the sensitive information. It is looking very basic now.
    I would upload the sheet to this forum if I was able to, something seems to be stopping my computer from doing it. I will try a different approach.

  5. #5
    Registered User
    Join Date
    06-28-2019
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    3
    Quote Originally Posted by Mumps1 View Post
    Can you attach a copy of your file (de-sensitized if necessary) and explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples form your data?
    Here it is. I had to go the long way around.
    Attached Files Attached Files

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Require search function to populate information to listbox.

    Try the attached file. Rather than manually entering the VRN in C8, just click it and select from the drop down list that pops up.
    Attached Files Attached Files
    Last edited by Mumps1; 07-01-2019 at 09:52 AM.

+ 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. [SOLVED] Populate listbox based on a database search using a textbox
    By Dotreena in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 01-25-2018, 06:22 AM
  2. Populate listbox if search reference is duplicated
    By rayexcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2014, 07:55 AM
  3. [SOLVED] ListBox to populate UserForm trouble with same search criteria
    By chriswhite1982 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-10-2014, 01:46 AM
  4. Replies: 0
    Last Post: 08-19-2013, 05:12 AM
  5. [SOLVED] Populate a Listbox in a UserForm based on a Search Result
    By clapforthewolfman in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 07-17-2013, 07:53 PM
  6. Populate a Userform from a selection on a popup search listbox
    By ahmadassaad in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-16-2012, 09:00 AM
  7. Userform populate listbox with search from multiple textboxes
    By chendysworld in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2012, 11:12 AM

Tags for this Thread

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