DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Değiştir butonu sadece 1 kere hücre(2,2) için çalışıyor. Sonra çalışmıyor. Yardımlarnız için..
Nasıl bir kod yazabilirim.
Private Sub CommandButton2_Click()
ts = ListBox1.ListIndex + 2
Sheets("1").Select
ListBox1.RowSource = ""
Cells(ts, "B") = TextBox1.Value
Cells(ts, "C") = TextBox2.Value
Cells(ts, "D") = TextBox3.Value
Cells(ts, "E") = TextBox4.Value
End Sub
ListBox1.RowSource = ""
hocam kod çalışıyor ama yukarıdaki kodla niçin Listboxu boşalttık.
Engin bilginizi paylasır mısınız.?
Değiştir butonu sadece 1 kere hücre(2,2) için çalışıyor. Sonra çalışmıyor. Yardımlarnız için..
Nasıl bir kod yazabilirim.
Private Sub CommandButton2_Click()
ts = ListBox1.ListIndex + 2
ListBox1.RowSource = ""
Cells(ts, "B") = TextBox1.Value
Cells(ts, "C") = TextBox2.Value
Cells(ts, "D") = TextBox3.Value
Cells(ts, "E") = TextBox4.Value
[COLOR=red]ListBox1.RowSource = "1!a2:e" & Range("e65536").End(3).Row[/COLOR]
End Sub