DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton1_Click()
Dim sonsat As Long, i As Byte
Sheets("A").Select
If TextBox1.Value = "" Then
MsgBox "Plaka Boş geçilemez . Bir Plaka Giriniz.!", vbCritical
TextBox1.SetFocus
Exit Sub
End If
sonsat = Sheets("A").Cells(65536, "A").End(xlUp).Row
If sonsat = 65535 Then
MsgBox "Sayfa Doldu.Başka kayıt yapamazsınız.!", vbCritical
Exit Sub
End If
For i = 1 To 9
Cells(sonsat + 1, i).Value = Controls("TextBox" & i)
Controls("TextBox" & i) = ""
Next
MsgBox "Kayıt Yapıldı..", vbOKOnly
TextBox1.SetFocus
End Sub