+ Reply to Thread
Results 1 to 4 of 4

Search Form using First and Last name and display data

  1. #1
    Registered User
    Join Date
    11-25-2019
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    2

    Search Form using First and Last name and display data

    Hi guys! This is my first time posting here asking for some help. I'm very new to Excel VBA so any help you can provide will be very much appreciated. I've searched the forum threads before posting this (I can't seem to find a similar, solved issue so I decided to post this).

    Attached sample of the search form I need to work on. We already have a workbook that saves data thru user form. I need to integrate the search and display functionality to that existing workbook (can't attach it here due to it already contains confidential data).

    Requirements:

    - Search using First and Last names
    - Display matching record from the database sheet to the main sheet (First Name, Last Name, Alias, Region, Status).
    - If multiple records found (same first and last names on database), pop-up form where we can select the correct data to display

    Thanks a lot!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-12-2019
    Location
    INDIA
    MS-Off Ver
    LATEST VERSION 1808
    Posts
    21

    Re: Search Form using First and Last name and display data

    Hi,

    You can Search your data base without vba. Just using Search & Index Function used. Here with attachment for your reference. If you want to extend the formula means you can manage large data.

    Thank You.,
    Attached Files Attached Files
    -
    Madhan Krishnan
    Coimbatore.
    India.

  3. #3
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Search Form using First and Last name and display data

    Rather than having separate forms why not incorporate your search within your existing form ?
    Using a listbox will mean you are searching for 'actuals' that exist and if data is sorted duplicates will exist contiguously.
    A cut down version of the attached app is what I would envisage.
    torachan.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-25-2019
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Search Form using First and Last name and display data

    Quote Originally Posted by torachan View Post
    Rather than having separate forms why not incorporate your search within your existing form ?
    Using a listbox will mean you are searching for 'actuals' that exist and if data is sorted duplicates will exist contiguously.
    A cut down version of the attached app is what I would envisage.
    torachan.
    Yeah we are going to integrate both functionalities in one single workbook. Thanks for this; I will check it out.

+ 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. Search To Display And Data Entry Form With Validation
    By ggg111 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-18-2019, 04:19 AM
  2. Search data from multiple worksheets and display in a Form
    By bash in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-08-2019, 07:38 AM
  3. How to create useform in excel VBA to search and display data on same form?
    By yjames in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2018, 04:18 AM
  4. Display search results in a form, edit and save
    By Kait in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2016, 06:31 AM
  5. Form to Search (selected columns) and display result
    By vairam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2013, 11:27 AM
  6. How to use Form to Find and Display Search Result
    By xinzie in forum Excel General
    Replies: 1
    Last Post: 03-28-2009, 05:46 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