- Katılım
- 10 Mayıs 2007
- Mesajlar
- 1,395
- Excel Vers. ve Dili
- 2007 Türkçe
ama firma ismi bölümünde firmalar artık tek gelmiyor bunu nasıl düzeltebilirim?
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
firma.Add Cells(i, 3), CStr(Cells(i, 2))
firma.Add Cells(i, 3), CStr(Cells(i, 3))
Sub suz()
ReDim myarr(1 To 6, 1 To 1)
ListBox1.RowSource = ""
k = 0
For i = 2 To Cells(65536, "a").End(3).Row
onay = True
If ComboBox1.Value <> "" Then
If Not DateValue(Cells(i, 2)) >= DateValue(ComboBox1.Value) Then onay = False
End If
If ComboBox2.Value <> "" Then
If Not DateValue(Cells(i, 2)) <= DateValue(ComboBox2.Value) Then onay = False
End If
If ComboBox3.Value <> "" Then
If Not Cells(i, 3) = ComboBox3.Value Then onay = False
End If
If ComboBox4.Value <> "" Then
If Not Cells(i, 6) = ComboBox4.Value Then onay = False
End If
If onay Then
k = k + 1
ReDim Preserve myarr(1 To 6, 1 To k)
For j = 1 To 6
myarr(j, k) = Cells(i, j)
Next
End If
Next
ListBox1.Column = myarr
End Sub