This weeks VBA challenge
Don't worry, we will be spending nearly all day working on our projects on Friday, but just to get us warmed up, here's our weekly VBA challenge!
Finally, you're going to create your own game, based on the vba warmups from the last few weeks! We will need to work together on this one, as it's a bit harder than the previous weeks!
Create a Sub called GuessingGame. Our sub will do the following:
- Create a new random number between 0 and 100.
- Ask the user to enter a number.
- If the user guessed your number correctly, you should use a MsgBox to say "Congratulations!"
- If the user's guess is higher than your number, your program will respond with a MsgBox saying "Too high", or if it's lower, "Too low"