arkadaşlar bir konuda yardımınıza ihtiyacım var. aşağıdaki kod doğru bir kod değil sanırım... amacım Listbox üzerinde işaretlediğim ve Textbox1 e çağrılan değeri güncelleyip yeni değeri kaydetmek.Nasıl yapabiliriz zaman ayırırsanız sevinirim...ilgili değer sayfa1 üzerine F sütununda gösteriliyor ve listboxd için Column değeri 5...
Private Sub CommandButton4_Click()
Dim sat As Integer
Sheets("SAYFA1").Select
If ListBox1.ListIndex < 0 Then
For sat = 6 To Cells(65536, "F").End(xlUp).Row
If Cells(sat, "F") Like ListBox1.Column(5) Then
Sheets("SAYFA1").Cells(sat, "F") = CDbl(TextBox1)
End Sub
Private Sub CommandButton4_Click()
Dim sat As Integer
Sheets("SAYFA1").Select
If ListBox1.ListIndex < 0 Then
For sat = 6 To Cells(65536, "F").End(xlUp).Row
If Cells(sat, "F") Like ListBox1.Column(5) Then
Sheets("SAYFA1").Cells(sat, "F") = CDbl(TextBox1)
End Sub
