arda896
Altın Üye
- Katılım
- 6 Ocak 2023
- Mesajlar
- 19
- Excel Vers. ve Dili
- excel access
- Altın Üyelik Bitiş Tarihi
- 26-01-2028
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