Dim numCorrect As Integer Dim numIncorrect As Integer Dim userName As String Sub GetStarted() Initialize YourName ActivePresentation.SlideShowWindow.View.Next End Sub Sub Initialize() Randomize 'ADDED numCorrect = 0 numIncorrect = 0 End Sub Sub YourName() userName = InputBox(prompt:="Type your name") End Sub Sub RightAnswer() numCorrect = numCorrect + 1 DoingWell 'DELETED ActivePresentation.SlideShowWindow.View.Next End Sub Sub DoingWell() MsgBox ("You are doing well, " & userName) End Sub Sub WrongAnswer() numIncorrect = numIncorrect + 1 DoingPoorly 'DELETED ActivePresentation.SlideShowWindow.View.Next End Sub Sub DoingPoorly() MsgBox ("Try to do better next time, " & userName) End Sub Sub Feedback() MsgBox ("You got " & numCorrect & " out of " _ & numCorrect + numIncorrect & ", " & userName) End Sub Sub RandomQuestion() Dim first As Integer Dim second As Integer first = Int(10 * Rnd) second = Int(10 * Rnd) answer = InputBox("What is " & first & " + " & second & "?") If answer = first + second Then RightAnswer Else WrongAnswer End If End Sub