Kod:
	
	Private Sub kaydet_Click()
    
    
    Dim sira As Long
    Dim syf As Variant
    For Each syf In Array("TUTARSIZLIK", ComboBox1.Text)
        With Worksheets(syf)
             sira = WorksheetFunction.CountA(.Range("A:A")) + 1
            .Cells(sira, 1) = WorksheetFunction.Max(.Range("A:A")) + 1
            .Cells(sira, 2) = tb_tarih.Text
            .Cells(sira, 3) = tb_id.Text
            .Cells(sira, 4) = tb_kod.Text
            .Cells(sira, 5) = tb_ad.Text
            .Cells(sira, 6) = tb_pro.Text  ' bu sayıyı otomatik olarak almasını istiyorum
            .Cells(sira, 7) = ComboBox1.Value
            .Cells(sira, 8) = tb_alansor.Text
            .Cells(sira, 9) = ComboBox2.Value
            .Cells(sira, 10) = UCase(tb_acik.Text)
            
        End With
    Next
    MsgBox "Uygunsuzluk girişi başarılı bir şekilde sağlandı.", vbInformation, ""
    
           tb_tarih.Text = CDate(Date)
           tb_id.Text = ""
           tb_kod.Text = ""
           tb_ad.Text = ""
           tb_pro.Text = ""
           ComboBox1.Value = ""
           tb_alansor.Text = ""
           ComboBox2.Value = ""
           tb_acik.Text = ""
    
    
    
End Sub
	Şimdiden teşekkürler .
				