mudstuffin
Technical User
I am building a ‘quiz’ game in excel, which asks 20 randomly chosen questions from the list, and is run from a userform. It all seems to work ok, but now I want to store the players high scores in Sheet2, which are to be updated at the end of the game. How can I do this so that it adds the players name and score to the next row down from the last one..?
The players name comes from application.username & is assigned to ‘Name’, and the score comes from textbox6.
Ideally, I would also like it to update a players high score if they have already played the game & a score was entered by matching against their Name. This will prevent a potentially long list of the same players’ different scores. However, this part is not as important as getting the scoreboard running in the first place.
Once I’ve figured this out, I will sort the data by score, and then display it in another userform to be viewed by the players.
Thanks in anticipation.
mudstuffin.
The players name comes from application.username & is assigned to ‘Name’, and the score comes from textbox6.
Ideally, I would also like it to update a players high score if they have already played the game & a score was entered by matching against their Name. This will prevent a potentially long list of the same players’ different scores. However, this part is not as important as getting the scoreboard running in the first place.
Once I’ve figured this out, I will sort the data by score, and then display it in another userform to be viewed by the players.
Thanks in anticipation.
mudstuffin.