This is part 6 in a series of videos about how to make a hangman game with Visual Basic for Applications, otherwise known as VBA. This video shows how to count the number of the correct guesses by incrementing a variable whenever the player makes a correct guess. It also shows how another variable can be used to deduct a life whenever the player is wrong. Each time a guess is made, the program checks to see if the number of correct guesses is the same as the length of the word, in which the player has won. Each time a guess is made, the program also checks to see if the number of lives has fallen to zero, in which case the player is hanged.