+ Reply to Thread
Results 1 to 5 of 5

Create a Excel Search Form that populates fields

  1. #1
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61

    Question Create a Excel Search Form that populates fields

    Hi, I am not used to working heavily in Excel, I have always done all of my databases in Access, but as it turns out, I am required to create this project in Excel.

    It's a pretty small program. Just one form that the users will use to enter the data, (which is already done), and now I am working on a form that users can use to seach for records, either based on one or two search fields (PolicyNumber & DateOfLoss).

    What I am trying to do is have a form with all of the fields on it and the two fields that the users can use to enter search criteria. When they fill in the criteria and click a button, I want all of the fields on the form to populate with the information that was found during the search. If more then one record is returned, they will have the ability to scroll through the differant records.

    I hope I was clear on what I am trying to do. I searched multiple forms and google, but was unsuccessful in finding an example. Can anyone help me out with some code or point me to a post that explains what I am looking for?

    Thanks!
    Jeff
    Last edited by RevJeff; 01-12-2012 at 09:52 AM.

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Create a Excel Search Form that populates fields

    Post a dummy workbook, it will make it easier to get a picture of what you are trying to achieve.
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Create a Excel Search Form that populates fields

    Hi Jeff
    Just today I posted a response to this Thread that does as you describe
    http://www.excelforum.com/excel-prog...-userform.html
    The code and application is probably overkill for what you might have but if you post a sample workbook of your data I'm certain one of us can help.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Create a Excel Search Form that populates fields

    See the DatabaseForm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61

    Re: Create a Excel Search Form that populates fields

    Thank you royUK! Thank is exactly what I was looking for.

    Thank you so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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