• DİKKAT

    DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
    Altın Üyelik Hakkında Bilgi

if konusu

inceleyiniz...
Kod:
Sub hesapla()
puan = 10
Select Case puan
Case 0 To 10
    MsgBox "a"
Case 11 To 20
    MsgBox "b"
Case 21 To 30
    MsgBox "c"
Case Else
    MsgBox "farklı bir durum oluştu"
End Select
End Sub
 
Buyurun.
Kod:
Sub if_4()
Dim nnot As Integer
nnot = Cells(1, 1)
If nnot <= 10 Then
MsgBox "çok kötü"
End If
If nnot > 10 And nnot <= 20 Then
MsgBox "zayıf"
End If
If nnot > 20 And nnot <= 30 Then
MsgBox "  kötü"
End If
If nnot > 30 And nnot <= 40 Then
MsgBox "az kötü"
End If
If nnot > 40 And nnot <= 50 Then
MsgBox "ha gayret"
End If
If nnot >= 60 Then
MsgBox "geçtin"
End If
End Sub
 
Çok sağolun Allah razı olsun yeni yeni başlıyorumda bu konulara :)
 
Geri
Üst