Forumda emeği geçen herkese merhaba . Arkadaşlar aşağıdaki kodlarda nasıl bir hata var ki ben bir türlü next a yı göremiyorum. 2. Satıra yazıp bırakıyor.
Range("E2:E20").ClearContents
j = [B2].End(3).Row + 1
If j < 2 Then j = 2
Dim a As Integer
For a = 1 To 10
If Cells(j, 2) >= 60 Then
Cells(j, 4) = "GEÇTİ"
Else
Cells(j, 4) = "KALDI"
End If
If Cells(j, 2) + Cells(j, 3) >= 100 Then
Cells(j, 5) = "TAKDİR"
Else
Cells(j, 5) = "BELGE YOK"
End If
Next a
Range("E2:E20").ClearContents
j = [B2].End(3).Row + 1
If j < 2 Then j = 2
Dim a As Integer
For a = 1 To 10
If Cells(j, 2) >= 60 Then
Cells(j, 4) = "GEÇTİ"
Else
Cells(j, 4) = "KALDI"
End If
If Cells(j, 2) + Cells(j, 3) >= 100 Then
Cells(j, 5) = "TAKDİR"
Else
Cells(j, 5) = "BELGE YOK"
End If
Next a
Ekli dosyalar
Son düzenleme:
