- Katılım
- 19 Ocak 2005
- Mesajlar
- 940
- Excel Vers. ve Dili
- İŞ : Microsoft Office Excel 2003
EV : Microsoft Office Excel 2003
Arkadaşlar iyi çalışmalar.
ListBox da AddItem ile Listelemede 10 sütundan daha fazla sütunu RowSource özelliği hariç nasıl listeleyebiliriz?
ListBox da AddItem ile Listelemede 10 sütundan daha fazla sütunu RowSource özelliği hariç nasıl listeleyebiliriz?
Kod:
[COLOR="Blue"][/COLOR]
Private Sub UserForm_Initialize()
ListBox1.ColumnCount = 12
For SUT = 1 To Cells(65536, "A").End(3).Row
ListBox1.AddItem
ListBox1.List(S, 0) = Cells(SUT, "A")
ListBox1.List(S, 1) = Cells(SUT, "B")
ListBox1.List(S, 2) = Cells(SUT, "C")
ListBox1.List(S, 3) = Cells(SUT, "D")
ListBox1.List(S, 4) = Cells(SUT, "E")
ListBox1.List(S, 5) = Cells(SUT, "F")
ListBox1.List(S, 6) = Cells(SUT, "G")
ListBox1.List(S, 7) = Cells(SUT, "H")
ListBox1.List(S, 8) = Cells(SUT, "I")
ListBox1.List(S, 9) = Cells(SUT, "J")
[COLOR="Red"]'ListBox1.List(S, 10) = Cells(SUT, "K")
'ListBox1.List(S, 11) = Cells(SUT, "L")[/COLOR]
S = S + 1
Next
End Sub
