allisbad04
Duplicate Account
- Joined
- Nov 14, 2023
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hello, i am fairly new to vba and I have been trying to make a guessing game with these terms:
Have the computer randomly select a number between 1 and 100 using a “Reset”
button. Create a separate button “Guess” to prompt the user to guess the number. Let the player
know if their guess is too high or too low. If their guess is within two of the mystery number, do not
tell them if their guess was too high/low but output “Close but no cigar. Try again. Display the players guesses in column 1 and if it is too high or low in column 2.
I have been trying many different codes but I can not get it right can someone please show me how to code for this? thank you.
Have the computer randomly select a number between 1 and 100 using a “Reset”
button. Create a separate button “Guess” to prompt the user to guess the number. Let the player
know if their guess is too high or too low. If their guess is within two of the mystery number, do not
tell them if their guess was too high/low but output “Close but no cigar. Try again. Display the players guesses in column 1 and if it is too high or low in column 2.
I have been trying many different codes but I can not get it right can someone please show me how to code for this? thank you.