DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub deneme_Click()
ListBox1.RowSource = Empty
ListBox1.Clear
sayf2 = "TümAnaData"
For r = 3 To Worksheets(sayf2).Cells(Rows.Count, "c").End(3).Row
aranan1 = Worksheets(sayf2).Cells(r, "c").Value
aranan2 = Worksheets(sayf2).Cells(r, "d").Value
aranan3 = Worksheets(sayf2).Cells(r, "u").Value
'If aranan1 = ComboBox1.Text And aranan2 = ComboBox2.Text And aranan3 = ComboBox3.Text Then
If UCase(LCase(aranan1)) Like UCase(LCase(ComboBox1.Text)) & "*" And UCase(LCase(aranan2)) Like UCase(LCase(ComboBox2.Text)) & "*" And UCase(LCase(aranan3)) Like UCase(LCase(ComboBox3.Text)) & "*" Then
liste = ListBox1.ListCount
ListBox1.AddItem
ListBox1.List(liste, 0) = aranan1
ListBox1.List(liste, 1) = aranan2
ListBox1.List(liste, 2) = aranan3
End If
Next r
End Sub
Private Sub ComboBox1_Click()
deneme_Click
End Sub
Private Sub ComboBox2_Click()
deneme_Click
End Sub
Private Sub ComboBox3_Click()
deneme_Click
End Sub
Private Sub UserForm_Initialize()
sayf2 = "TümAnaData"
For r = 3 To Worksheets(sayf2).Cells(Rows.Count, "c").End(3).Row
If WorksheetFunction.CountIf(Worksheets(sayf2).Range(Worksheets(sayf2).Cells(3, "c"), Worksheets(sayf2).Cells(r, "c")), Sheets(sayf2).Cells(r, "c").Value) = 1 Then
ComboBox1.AddItem Worksheets(sayf2).Cells(r, "c").Value
End If
If WorksheetFunction.CountIf(Worksheets(sayf2).Range(Worksheets(sayf2).Cells(3, "d"), Worksheets(sayf2).Cells(r, "d")), Sheets(sayf2).Cells(r, "d").Value) = 1 Then
ComboBox2.AddItem Worksheets(sayf2).Cells(r, "d").Value
End If
If WorksheetFunction.CountIf(Worksheets(sayf2).Range(Worksheets(sayf2).Cells(3, "u"), Worksheets(sayf2).Cells(r, "u")), Sheets(sayf2).Cells(r, "u").Value) = 1 Then
ComboBox3.AddItem Worksheets(sayf2).Cells(r, "u").Value
End If
Next r
ListBox1.RowSource = "TümAnaData!B3:Z" & WorksheetFunction.CountA(Worksheets("TümAnaData").Range("B3:Z100000"))
ListBox1.ColumnCount = 25
ListBox1.ColumnWidths = "30;30;50;50;80;40;60;100;70;90;90;157;157;50;50;50;50;50;100;157;157;157;157;100;100"
ComboBox1.SetFocus
End Sub