Hey,
I know I'm probably being a bit dumb here but I've got a problem trying to test if a number is between two other numbers. This is what I've got:
Now what I need to know is if the assignment mark or exam mark is 40-49 for that if statement to revert to true.
Thanks
I know I'm probably being a bit dumb here but I've got a problem trying to test if a number is between two other numbers. This is what I've got:
Code:
If (assignment >= 40 < 50) Or (exam >= 40 < 50) Then
If (Average > 50) Then
MsgBox ("Compensated Pass")
Exit Function
End If
End If
Now what I need to know is if the assignment mark or exam mark is 40-49 for that if statement to revert to true.
Thanks