Arkadaşlar Merhaba.Aşağıdaki kod ile excel sayfasına kayıt yapıyorum fakat kayıt yapmaya 15.satırdan itibaren başlatmam gerekiyor.Yardımcı olursanız sevinirim.
mutlu = Sheets("Takip").Cells(Rows.Count, "h").End(3).Row + 1
If ListBox2.ListIndex = -1 Then Exit Sub
For a = ListBox2.ListCount - 1 To 0 Step -1
If ListBox2.Selected(a) = True Then
Sheets("Takip").Cells(mutlu, "J") = ListBox2.List(a, 0)
Sheets("Takip").Cells(mutlu, "I") = TextBox15
Sheets("Takip").Cells(mutlu, "H") = TextBox16.Value
End If
Next:
mutlu = Sheets("Takip").Cells(Rows.Count, "h").End(3).Row + 1
If ListBox2.ListIndex = -1 Then Exit Sub
For a = ListBox2.ListCount - 1 To 0 Step -1
If ListBox2.Selected(a) = True Then
Sheets("Takip").Cells(mutlu, "J") = ListBox2.List(a, 0)
Sheets("Takip").Cells(mutlu, "I") = TextBox15
Sheets("Takip").Cells(mutlu, "H") = TextBox16.Value
End If
Next:
