...yansıtmam gereken 7 veriyi tümden yansıtınca vba, excel donuyor kapanıyor.
2 veya 3 veri yansıttığımda ise çok yavaşta olsa çalışıyor. Listcount sayısını arttırdıkça uygulama donuyor.
Fakat sorgulama değilde ayrı bir sayfada aynı verileri aynı sayıda listbox ve textbox ile listelediğimde...
...= True
's1.Select
'
'son = s1.Cells(Rows.Count, 2).End(3).Row
'ListBox3.List = s1.Range("B4:K" & son).Value
'ListBox3.TopIndex = ListBox3.ListCount
End Sub
Private Sub KaydetButton()
Dim ws As Worksheet
Dim controlArray As Variant
Dim control As Variant
Dim emptyCount As...
Hocam
Kapatıp açtıktan sonra en alt satır gözüküyor. Teşekkür ederim.
Kaydet dedigimde gözükmesini istiyorum. emeğinize saglık.(devamlı işlem yapacağım sonra kaydet diyecegim.
...Sub ComboBox9_Change()
If ComboBox9.Value = "" Then
UserForm_Initialize
Else
With Lst_depogrslıste
For i = .ListCount - 1 To 1 Step -1
If .List(i, 0) <> ComboBox9.Value Then .RemoveItem (i)
Next i
End With
End If
End Sub
LisBoxtan seçmek için;
---------------------------
Private Sub ListBox1_Click()
Dim i As Integer
For i = 0 To ListBox1.ListCount - 1
If ListBox1.Selected(i) = True Then
Sheets("Veri Girişi").Select
Sheets("Veri Girişi").Range("A" & ListBox1.List(ListBox1.ListIndex + 1, 0)).Select
End If
Next...
...veri 8. Satırda ise 600. Satıra gitmiyor 8. Satırı seçiyor bu konuda yardımcı olabilirseniz sevinirim.
Dim i As Integer
For i = 0 To ListBox1.ListCount - 1
If ListBox1.Selected(i) = True Then
Sheets("Veri Girişi").Select
Sheets("Veri Girişi").Range("A" & ListBox1.ListIndex + 2).Select
End...
Modulr3 deki kodu aşağıdaki gibi yapınca toplama yapıyor.
Sub topla()
For Row = 0 To UserForm12.ListBox1.ListCount - 1
Sum = Sum + Val(UserForm12.ListBox1.List(Row, 8))
Next Row
UserForm12.TextBox1 = Sum
Sum = 0
For Row = 0 To UserForm12.ListBox2.ListCount - 1...
Aşağıdaki gibi bir msgbox ile toplanacak değeri kontrol edin.
Sub topla2()
For Row = 0 To UserForm12.ListBox2.ListCount - 1
MsgBox Val(UserForm12.ListBox2.List(Row, 8))
Sum = Sum + Val(UserForm12.ListBox2.List(Row, 8))
Next Row
UserForm12.TextBox2 = Sum
End Sub...
...toplama işlemi malesef olmuyor. Nerede hata yapıyorum ?
Listbox1'i toplayan formül:
Sub topla()
For Row = 0 To UserForm12.ListBox1.ListCount - 1
Sum = Sum + Val(UserForm12.ListBox1.List(Row, 8))
Next Row
UserForm12.TextBox1 = Sum
End Sub
Listbox2'yi toplayan fomül:
Sub topla2()
For...
Deneyiniz.
Dim Liste As Integer
Dim Satir As Integer
For Liste = 0 To ListBox1.ListCount - 1
If ListBox1.Selected(Liste) Then
ListBox2.AddItem
For Satir = 0 To ListBox1.ColumnCount
ListBox2.List(ListBox2.ListCount - 1, Satir) =...
Merhaba.
Dim Liste As Integer
ListBox2.AddItem
For Liste = 0 To ListBox1.ColumnCount
ListBox2.List(ListBox2.ListCount - 1, Liste) = ListBox1.List(ListBox1.ListIndex, Liste)
Next
Sizlere daha iyi bir deneyim sunabilmek icin sitemizde çerez konumlandırmaktayız, web sitemizi kullanmaya devam ettiğinizde çerezler ile toplanan kişisel verileriniz Veri Politikamız / Bilgilendirmelerimizde belirtilen amaçlar ve yöntemlerle mevzuatına uygun olarak kullanılacaktır.