Aşağıdaki kod ile listbox1 deki veriye çift tıklayarak excel sayfasına kayıt yapmak istiyorum ama çalışmıyor.Kodlarda "Mutlu" değişkeni yerine rakam yazarsam bu seferde sadece birinci satıra kayıt yapıp sonraki satırlara kayıt yapmıyor.Yardımlarınızı bekliyorum.
Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
mutlu = Sheets("sayfa").Cells(Rows.Count, "A").End(3).Row + 1
Sheets("sayfa").Cells(mutlu, "L") = ListBox1.List(ListBox1.ListIndex, 0)
Sheets("sayfa").Cells(mutlu, "M") = ListBox1.List(ListBox1.ListIndex, 1)
Sheets("sayfa").Cells(mutlu, "N") = ListBox1.List(ListBox1.ListIndex, 2)
Sheets("sayfa").Cells(1, "O") = ListBox1.List(ListBox1.ListIndex, 3)
Sheets("sayfa").Cells(mutlu, "P") = ListBox1.List(ListBox1.ListIndex, 4)
Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
mutlu = Sheets("sayfa").Cells(Rows.Count, "A").End(3).Row + 1
Sheets("sayfa").Cells(mutlu, "L") = ListBox1.List(ListBox1.ListIndex, 0)
Sheets("sayfa").Cells(mutlu, "M") = ListBox1.List(ListBox1.ListIndex, 1)
Sheets("sayfa").Cells(mutlu, "N") = ListBox1.List(ListBox1.ListIndex, 2)
Sheets("sayfa").Cells(1, "O") = ListBox1.List(ListBox1.ListIndex, 3)
Sheets("sayfa").Cells(mutlu, "P") = ListBox1.List(ListBox1.ListIndex, 4)
