jess
11-26-2009, 12:36 PM
Hi
I was wondering if anyone could help me. I am trying to create a quiz in Powerpoint 2007 and i want to be able to have a running total. I have a created three macros to help keep a running total but the line of code to make it move to the next slides is not working.
The macros are below, the correct macro is on each of the correct answers and the Initalise macro is attachted to the start here button. Can anyone tell me why its not working? :dunno
Sub Initialise()
ActivePresentation.SlideShowWindow.View.Next
NumberCorrect = 0
End Sub
Sub Correct()
ActivePresentation.SlideShowWindow.View.Next
NumberCorrect = NumberCorrect + 1
End Sub
Sub Display()
MsgBox ("You got " & NumberCorrect & " questions right")
End Sub
Thank you
Jess
I was wondering if anyone could help me. I am trying to create a quiz in Powerpoint 2007 and i want to be able to have a running total. I have a created three macros to help keep a running total but the line of code to make it move to the next slides is not working.
The macros are below, the correct macro is on each of the correct answers and the Initalise macro is attachted to the start here button. Can anyone tell me why its not working? :dunno
Sub Initialise()
ActivePresentation.SlideShowWindow.View.Next
NumberCorrect = 0
End Sub
Sub Correct()
ActivePresentation.SlideShowWindow.View.Next
NumberCorrect = NumberCorrect + 1
End Sub
Sub Display()
MsgBox ("You got " & NumberCorrect & " questions right")
End Sub
Thank you
Jess