+ Reply to Thread
Results 1 to 4 of 4

Need to Search via Userform based on Selection

  1. #1
    Registered User
    Join Date
    11-04-2010
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    38

    Need to Search via Userform based on Selection

    HI

    I have this spreadsheet that I would like to search on 4 fields based on selection using a Userform. The first two options work fine. I am having problem searching on ALB Tag and Monitor ALB Tag.

    I have attached my spreadsheet
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Need to Search via Userform based on Selection

    Problem is the values your adding to your combobox1 don't match the Select case section in your search button procedure "CommandButton5_Click".


    you have
    Please Login or Register  to view this content.
    but have this in your CommandButton5_Click. So it'll doesn't find the match.
    Please Login or Register  to view this content.
    Replace the section of code in your UserForm_Initialize and replace with below.
    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    11-04-2010
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    38

    Re: Need to Search via Userform based on Selection

    Hi Mike

    THanks a million
    Works brilliantly
    Thanks

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Need to Search via Userform based on Selection

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 0
    Last Post: 03-29-2017, 10:09 AM
  2. update table based on the selection in userform
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-15-2015, 11:25 AM
  3. [SOLVED] Select date userform based on Userform selection
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-07-2014, 10:45 AM
  4. [SOLVED] Userform textbox value based on combobox selection
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-17-2014, 11:56 AM
  5. 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
  6. Selecting which userform to use based on cell selection
    By Zigaria1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-08-2011, 09:20 AM
  7. Populating a userform based on a combobox selection
    By blindzero678 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2010, 03:37 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