
Originally Posted by
Justin M
Is there a way to have it so no answerchoices go below 0, and if they go below 0, replace them with another higher number? Like if the correct answer was 2, and one of the choices was -1, have the program replace -1 with another number not used in the choices?
Thanks a ton!
Just a thought
Code:
...
If p_Before < 0 Or p_After < 0 Then Err.Raise 5
If p_CorrectAnswer - p_Before < 0 Then
p_After = p_After + (p_Before - p_CorrectAnswer)
p_Before = p_CorrectAnswer
End If
...
And a side note. If the possible answers will always be sequential, is there really an point in randomizing them?