Kod:
Private Sub CheckBox2_Click()
Dim i
Range("A1") = "Deneme"
sonsatir = Cells(Rows.Count, "A").End(xlUp).Row + 1
For i = 2 To sonsatir
If CheckBox2 = True Then
Cells(i, 1) = Label1
Else
Cells(Rows.Count, "A").End (xlUp) . Clear
End If
Next i
End Sub
If CheckBox2 = True Then
Cells(i, 1) = Label1
Else
Cells(Rows.Count, "A").End (xlUp).Clear
End If
burda checbox işaretlenince doğru çalışıyor fakat işaretten çıkınca son eklenen değeri silmesini istiyorum

