+ Reply to Thread
Results 1 to 5 of 5

Search Records by ID

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    Search Records by ID

    Hello,


    I want to make a Search Box (userform) with an option to " Search by Customer ID" and a text box to display search information and a command button "Search"

    I want it should search the entire Sheet and display all records of that customer when I put " Customer ID " in the search box. It should display information which is in Column number 3(Date), Column number 5(NAME) & Column number 6(Payment) of that Customer. Information should be displayed in "Text Box" of the form.


    I hope you guys will be understanding what I mean.


    Regards
    z-eighty2

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: Search Records by ID

    this can be done with a few countif() and index/match formulas, you dont need VBA

    upload a sample workbook showing what you are working with (no sensitive info), and we can help you put something together
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    Re: Search Records by ID

    Hi,

    Acutally I want Userform to find records.Is it possible please?

    Regards
    z-eighty2

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: Search Records by ID

    my VBA is weak, sorry

  5. #5
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Search Records by ID

    See attached.
    Attached Files Attached Files
    Last edited by coreytroy; 06-17-2013 at 06:38 PM.

+ 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