bydogannn67
Altın Üye
- Katılım
- 6 Ocak 2016
- Mesajlar
- 226
- Excel Vers. ve Dili
- 2010 türkçe
Tesekkurler hocam çok güzel bi çalışma oldu sayenızde 
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton81_Click()
Dim ad As String, s As Byte
Dim sat, son, deg, K As Integer
Dim sayfa As String
Sheets("RAPOR").Select
Application.ScreenUpdating = False
'*****verigir
If TextBox2 = "" Then MsgBox "Şirket Bilgisi Girmelisiniz", vbInformation: Exit Sub
son = Sheets("RAPOR").Cells(65536, "b").End(xlUp).Row + 1
Sheets("RAPOR").Cells(son, "a") = TextBox2
If TextBox3 = "" Then MsgBox "Kullanı Adı Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "b") = TextBox3
If TextBox4 = "" Then MsgBox "Muayene Tarihi Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "c") = TextBox4
If TextBox5 = "" Then MsgBox "Rapor Türü Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "d") = TextBox5
If TextBox6 = "" Then MsgBox "Teşhis Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "e") = TextBox6
If TextBox7 = "" Then MsgBox "Raporlu Tarih Aralığı Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "f") = TextBox7
If TextBox8 = "" Then MsgBox "Çalışabilir Tarihi Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "g") = TextBox8
If TextBox9 = "" Then MsgBox "Raporlu Gün Girmediniz", vbInformation: Exit Sub
Sheets("RAPOR").Cells(son, "h") = TextBox9
Sheets("RAPOR").Cells(son, "ı") = TextBox10
TextBox2 = Empty: TextBox3 = Empty: TextBox4 = Empty: TextBox5 = Empty: TextBox6 = Empty: TextBox7 = Empty: TextBox8 = Empty: TextBox9 = Empty
MsgBox "KAYIT İŞLEMİ YAPILMIŞTIR.", vbInformation
UserForm_Initialize
Application.ScreenUpdating = True
Sheets("GİRİŞ").Select
End Sub
Private Sub CommandButton116_Click()
Set sayfa = Sheets("rapor")
erb = MsgBox("Silmek istediğinizden emin misiniz?", vbYesNo, "SİLME ONAYI")
If erb = vbYes Then
evn = ListView1.SelectedItem.Index + 1
sayfa.Rows(evn).Delete
End If
UserForm_Initialize
Sheets("GİRİŞ").Select
End Sub