- Katılım
- 12 Eylül 2004
- Mesajlar
- 871
- Excel Vers. ve Dili
-
Excel 2019 Türkçe (Ev)
Excel 2013 Türkçe (Okul)
Kod:
Private Sub ComboBox3_Change()
With ListBox2
.RowSource = Empty
.Clear
For Each BUL In Worksheets("Kazanim_Takip").Range("b2:D" & Worksheets("Kazanim_Takip").Range("b65536").End(3).Row)
If BUL = ComboBox3 Then
ListBox2.AddItem
ListBox2.List(ListBox2.ListCount - 1, 0) = BUL.Offset(0, -3)
ListBox2.List(ListBox2.ListCount - 1, 1) = BUL.Offset(0, -2)
ListBox2.List(ListBox2.ListCount - 1, 2) = BUL.Offset(0, -1)
ListBox2.List(ListBox2.ListCount - 1, 3) = BUL
ListBox2.List(ListBox2.ListCount - 1, 4) = BUL.Offset(0, 1)
ListBox2.List(ListBox2.ListCount - 1, 5) = BUL.Offset(0, 2)
ListBox2.List(ListBox2.ListCount - 1, 6) = BUL.Offset(0, 3)
ListBox2.List(ListBox2.ListCount - 1, 7) = BUL.Offset(0, 4)
End If
Next
End With
End Sub