+ Reply to Thread
Results 1 to 22 of 22

How to add search on multiple

  1. #1
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    How to add search on multiple

    HI I managed myself up to adding a userform and add data to excel sheet with auto sequence on date time and serial number, I have attached,

    Can I have help on how to put a search button for my userform, and search by Name or Phone or E mail or by all 3 on the userform and then filtered results comes in the same userform below (not on excel sheet)

    Thank you
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Based on that three option u want to search data right and that data should display on userform itself is it right ?
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    Based on that three option - want to search data - right and that data should display on userform itself is it right ? - Yes
    But when multiple is there i am trying hard to do this example attached. to get FIND and Amend to my excel sheet content
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Hmm that i will update

    need one more clarificatin, u want to search contain in list or else exact match value ?

  5. #5
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    contain in list..

  6. #6
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    Thank you for helping me out

  7. #7
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    its lunch time post lunch i will provide

  8. #8
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    will wait .. mine too..

  9. #9
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    almost done....! need some more time

  10. #10
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    Thank you.. will wait till you revert...

  11. #11
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Have test and let me know is it what your looking for
    Attached Files Attached Files
    Last edited by Naveed Raza; 10-22-2014 at 03:37 AM.

  12. #12
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    HI Tx, but I cant find the buttons in the excel sheet

  13. #13
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Quote Originally Posted by Prabhahsini View Post
    HI Tx, but I cant find the buttons in the excel sheet
    I have Edited that post #11 have test

  14. #14
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    HI sorry , cant understand.. i am searching for that "Open userform" "exit" buttons not there .. Where can I find them to call the userform pls

  15. #15
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Now check this attached
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    HI sorry got it

  17. #17
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    HI did a test, it has a drop down to search by: then i put the name result says 1 record find so on.. but how can i see that record pls.. like the k234.xlsm‎ example

  18. #18
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    Instead of selecting the drop down, can i straight away type on each of the filed and then results be shown as the k234.xlsm‎ example ?

  19. #19
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    If you want in that way then u have to search record by anyone option from(name,phone,email) or else if you want to search somethime with all, sometime with any 2 option, sometime with only 1 option then code will become full lengthy.

  20. #20
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Quote Originally Posted by Prabhahsini View Post
    HI did a test, it has a drop down to search by: then i put the name result says 1 record find so on.. but how can i see that record pls.. like the k234.xlsm‎ example
    after search, just click on listbox record u will get all record information in userform it self

  21. #21
    Registered User
    Join Date
    10-17-2014
    Location
    colombo
    MS-Off Ver
    windows 2013
    Posts
    13

    Re: How to add search on multiple

    HI , checked.. actually that is the option i was looking for.. but i checked this one as well i get a runout error

    run time error select method of range class failed

  22. #22
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: How to add search on multiple

    Hi Prabhahsini

    Now have test this attached file, I completed made changes to this

    Hope this will work perfect for you
    Attached Files Attached Files
    Last edited by Naveed Raza; 10-28-2014 at 03:22 AM. Reason: Sheet Updated

+ 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 a table with multiple search inputs and return all matches
    By JDI in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-16-2014, 12:23 PM
  2. Replies: 6
    Last Post: 08-22-2014, 08:47 AM
  3. Replies: 4
    Last Post: 05-20-2014, 10:03 AM
  4. Truncate text strings using LEFT and FIND/SEARCH for multiple search terms
    By ngdoherty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2013, 07:51 PM
  5. [SOLVED] Search box in Excel to search key words in sentences in multiple worksheets
    By fernandoii676 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-05-2012, 01:42 PM

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