- Katılım
- 14 Ocak 2005
- Mesajlar
- 807
- Excel Vers. ve Dili
- Microsoft Office Professional Plus 2021
S.a. arkadaşlar;
aşağıdaki listbox2 ye değerleri ekliyorum. ListBox2.List(Satır, 9) = BUL.Offset(0, 7).Value
buraya gelinceye kadar sorun olmuyor fakat
ListBox2.List(Satır, 10) = BUL.Offset(0, (ay * 2) + 7).Value
bu 10 uncu satırı ekleyince şu hatayı alıyorum.
Run-time error '380':
Could not set the List property. Invalid property value.
Sorun nedir anlayamadım.
aşağıdaki listbox2 ye değerleri ekliyorum. ListBox2.List(Satır, 9) = BUL.Offset(0, 7).Value
buraya gelinceye kadar sorun olmuyor fakat
ListBox2.List(Satır, 10) = BUL.Offset(0, (ay * 2) + 7).Value
bu 10 uncu satırı ekleyince şu hatayı alıyorum.
Run-time error '380':
Could not set the List property. Invalid property value.
Sorun nedir anlayamadım.
Kod:
ListBox2.AddItem
ListBox2.List(Satır, 0) = BUL.Offset(0, -1).Value
ListBox2.List(Satır, 1) = BUL.Offset(0, 0).Value
ListBox2.List(Satır, 2) = BUL.Offset(0, 1).Value
ListBox2.List(Satır, 3) = BUL.Offset(0, (ay * 2) + 6).Value
ListBox2.List(Satır, 4) = BUL.Offset(0, 2).Value
ListBox2.List(Satır, 5) = BUL.Offset(0, 3).Value
ListBox2.List(Satır, 6) = BUL.Offset(0, 4).Value
ListBox2.List(Satır, 7) = BUL.Offset(0, 5).Value
ListBox2.List(Satır, 8) = BUL.Offset(0, 6).Value
ListBox2.List(Satır, 9) = BUL.Offset(0, 7).Value
ListBox2.List(Satır, 10) = BUL.Offset(0, (ay * 2) + 7).Value
