I'm having a hard time trying to display an error message once someone has already entered in that letter. I'm super new to all of this so I have no idea what I'm doing but I can't get it to work. Please help, I've been trying to fix this for a week and need help! I've done this ->
I have LettersNotGuessedYet as ""
'Displays an error message if a letter is used twice or more GuessThere = InStr(LettersNotGuessedYet, GuessString) If GuessThere = 0 Then LettersNotGuessedYet += GuessString Else Guess1There = InStr(LettersNotGuessedYet, GuessString) If Guess1There = 1 Then MessageBox.Show("blah"blahh ") End If End If
It works for the first letter I put in (which is GuessString) but then anything else I type in after doesnt display any message?