sayfa 2 de ki son dolu satırı bulup sonraki boş satırlara nasıl yazdırcam
Private Sub CommandButton1_Click()
Set s1 = Sheets("sayfa2")
sat = ListBox1.ListCount
sut = ListBox1.ColumnCount
s1.Range(s1.Cells(1, 1), s1.Cells(sat, sut)) = ListBox1.List
End Sub
Private Sub CommandButton1_Click()
Set s1 = Sheets("sayfa2")
sat = ListBox1.ListCount
sut = ListBox1.ColumnCount
s1.Range(s1.Cells(1, 1), s1.Cells(sat, sut)) = ListBox1.List
End Sub
