Hi,
I am testing the following numbers.
<=7
=8 and =14 and any number between these two.
=>15.
I am having a problem with the middle numbers, the code I have is:
If TotalCorrect <= 7 And txtMood.Text = "Good" Then
MsgBox "Task less than equal to 7"
End If
If TotalCorrect BETWEEN [8:14] And txtMood.Text = "Good" Then
MsgBox "Task greater than equal to 8 less than 15"
End If
If TotalCorrect >= 15 And txtMood.Text = "Good" Then
MsgBox "Task greater than equal 15"
End If
The problem is the middle part where I am trying to test if the number corect is equal to either 8 and 14 and also if the number equals any number between 8 and 14.
Any ideas?.
I am testing the following numbers.
<=7
=8 and =14 and any number between these two.
=>15.
I am having a problem with the middle numbers, the code I have is:
If TotalCorrect <= 7 And txtMood.Text = "Good" Then
MsgBox "Task less than equal to 7"
End If
If TotalCorrect BETWEEN [8:14] And txtMood.Text = "Good" Then
MsgBox "Task greater than equal to 8 less than 15"
End If
If TotalCorrect >= 15 And txtMood.Text = "Good" Then
MsgBox "Task greater than equal 15"
End If
The problem is the middle part where I am trying to test if the number corect is equal to either 8 and 14 and also if the number equals any number between 8 and 14.
Any ideas?.