DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub ComboBox1_Change()
Dim Secim As String
Dim i As Long
Dim j As Integer
If ComboBox1.Value = "teslim edilmeyen daireler" Then
Secim = "B"
ElseIf ComboBox1.Value = "taşınılan daireler" Then
Secim = "T"
Else
Secim = "A"
End If
For i = 7 To [D65536].End(3).Row
For j = 4 To 24
If Cells(i, j) = Secim Then
ListBox1.AddItem Cells(i, j).Offset(0, -1).Value
End If
Next j
Next i
End Sub
Private Sub ComboBox1_Change()
Dim Secim As String
Dim i As Long
Dim j As Integer
If ComboBox1.Value = "teslim edilmeyen daireler" Then
Secim = "B"
ElseIf ComboBox1.Value = "taşınılan daireler" Then
Secim = "T"
Else
Secim = "A"
End If
[B][COLOR=red]ListBox1.Clear[/COLOR][/B]
For i = 7 To [D65536].End(3).Row
For j = 4 To 24
If Cells(i, j) = Secim Then
ListBox1.AddItem Cells(i, j).Offset(0, -1).Value
End If
Next j
Next i
End Sub
Private Sub ComboBox1_Change()
Dim Secim As String
Dim i As Long
Dim j, [COLOR=red][B]Toplam[/B][/COLOR] As Integer
If ComboBox1.Value = "teslim edilmeyen daireler" Then
Secim = "B"
ElseIf ComboBox1.Value = "taşınılan daireler" Then
Secim = "T"
Else
Secim = "A"
End If
[COLOR=red][B]Toplam = 0[/B][/COLOR]
ListBox1.Clear
For i = 7 To [D65536].End(3).Row
For j = 4 To 24
If Cells(i, j) = Secim Then
ListBox1.AddItem Cells(i, j).Offset(0, -1).Value
[B][COLOR=red]Toplam = Toplam + 1
[/COLOR][/B] End If
Next j
Next i
[COLOR=red][B]TextBox1 = Toplam
[/B][/COLOR]End Sub
Private Sub ComboBox1_Change()
Dim Secim As String
Dim i As Long
Dim j, [COLOR=red][B]s[/B][/COLOR], Toplam As Integer
Application.ScreenUpdating = False
If ComboBox1.Value = "teslim edilmeyen daireler" Then
Secim = "B"
ElseIf ComboBox1.Value = "taşınılan daireler" Then
Secim = "T"
Else
Secim = "A"
End If
Toplam = 0
ListBox1.Clear
For i = 7 To [D65536].End(3).Row
For j = 4 To 24
If Cells(i, j) = Secim Then
[COLOR=red][B]s = s + 1
[/B][/COLOR] [COLOR=red][B]Cells(s, "AE")[/B][/COLOR] = Cells(i, j).Offset(0, -1).Value
Toplam = Toplam + 1
End If
Next j
Next i
[COLOR=red][B]Range("AE1:AE" & [AE65536].End(3).Row).Sort Key1:=[AE1][/B][/COLOR]
[COLOR=red][B]For i = 1 To [AE65536].End(3).Row
ListBox1.AddItem Cells(i, "AE")
Next i[/B][/COLOR]
TextBox1 = Toplam
[COLOR=red][B]Range("AE:AE").Clear
[/B][/COLOR]Application.ScreenUpdating = True
End Sub
Private Sub ListBox1_Click()
End Sub