Dim GradeValue As Double
Select Case ComboBox1.Text
Case "A"
GradeValue = 4
Case "B+"
GradeValue = 3.5
Case "B"
GradeValue = 3
Case "C+"
GradeValue = 2.5
Case "C"
GradeValue = 2
Case "D+"
GradeValue = 1.5
Case "D"
GradeValue = 1
Case "F"
GradeValue = 0
End Select