I have a high score program where the user enters their name if they get a high score.
The problem arises when the user clicks cancel. The program still enters the score but no name.
When they hit cancel I want the progran to Exit Sub
I tired the following but vbnull = 1 regardless clicking cancel or ok
strNname = InputBox("Your Special. Enter Your _ Name", "bestscores input", "Anonymous"
If vbNull = "1" Then Exit Sub
The problem arises when the user clicks cancel. The program still enters the score but no name.
When they hit cancel I want the progran to Exit Sub
I tired the following but vbnull = 1 regardless clicking cancel or ok
strNname = InputBox("Your Special. Enter Your _ Name", "bestscores input", "Anonymous"
If vbNull = "1" Then Exit Sub