Results 1 to 10 of 10

Search for multiple rows from multiple sheets by criteria & show result in userform

Threaded View

  1. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Search for multiple rows from multiple sheets by criteria & show result in userform

    So here we are.
    Private Sub CommandButton4_Click()
    
    Unload Me
    
    End Sub
    
    
    
    Private Sub OptionButton1_Click()
    Sheets("EXISTING CLIENTS").Range("B:J").AdvancedFilter Action:=xlFilterCopy, _
            CriteriaRange:=Sheets("Helper").Range("A1:b2"), CopyToRange:=Sheets("Helper").Range("e1:m1"), Unique:=False
            End Sub
    
    Private Sub OptionButton2_Click()
    Sheets("CLIENTS").Range("B:J").AdvancedFilter Action:=xlFilterCopy, _
            CriteriaRange:=Sheets("Helper").Range("A1:b2"), CopyToRange:=Sheets("Helper").Range("o1:w1"), Unique:=False
    End Sub
    
    
    
    Private Sub OptionButton3_Click()
    Call number1
    End Sub
    
    Private Sub TextBox1_Change()
    Sheets("Helper").Range("a2") = TextBox1.Value
    End Sub
    
    Private Sub TextBox2_Change()
    Sheets("Helper").Range("b2") = TextBox2.Value
    End Sub
    
    Private Sub UserForm_Activate()
    Sheets("Helper").Select
        Range("E2:M100,O2:W100").Select
        Range("O2").Activate
        Selection.ClearContents
        Sheets("SEARCH").Select
    End Sub
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Convert Text into multiple rows and search result in next sheet
    By Bathi Anusha in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2014, 09:30 AM
  2. [SOLVED] Userform and multiple search criteria with drop down validation for 2003.
    By Spreadlover in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2013, 08:19 PM
  3. [SOLVED] Search multiple sheets for criteria and paste all matched rows in new sheet
    By BertLady56 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2012, 01:09 PM
  4. Search for Multiple String Values on Multiple Sheets and Copy Rows to New Sheet
    By rrtikker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2012, 12:21 PM
  5. Search for multiple criteria then return result
    By ctrapper in forum Excel General
    Replies: 7
    Last Post: 03-15-2011, 09:03 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