November 24th, 2012, 04:42 PM
I assume you want to check the value x against intNum. for this you will have to use the IF statement:
If x > intNum Then
MsgBox("Too high, try again")
ElseIf x < intNum Then
MsgBox("Too low, try again")
MsgBox("You guessed right!")
You already added a loop, but miss a condition for it.
Depend at how you have the rest of the code, it may or may not bee needed.
Where do you ask for user input?