• DİKKAT

    DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
    Altın Üyelik Hakkında Bilgi

listbox

Katılım
9 Ocak 2009
Mesajlar
557
Excel Vers. ve Dili
2002 TÜRKÇE
2007 TÜRKÇE
2010 TÜRKÇE
2019 TÜRKÇE
For i = 0 To ListBox1.ListCount - 1
If ListBox1.List(i, 3) < Format(Date, "dd.mm.yyyy") And ListBox1.List(i, 2) < Format(time, "24:00") Then

ListBox2.AddItem
ListBox2.List(s, 0) = ListBox1.List(i, 0)
ListBox2.List(s, 1) = ListBox1.List(i, 1)
ListBox2.List(s, 2) = Format(ListBox1.List(i, 2), "hh:mm")
ListBox2.List(s, 3) = Format(ListBox1.List(i, 3), "dd.mm.yyyy")

s = s + 1

End If
ACABA LİSTBOXUN 3 KOLONUNDA VERİ YOKSA O KOLON LİSTEDE YER ALMAMASI İÇİN NASIL BİR DEĞİŞİKLİK YAPABİLİRİM...
 
Döngünün içinde bir if komutu ile ilgili kolonların boş olup olmadığını denetletmeniz gerekir.
 
Geri
Üst