Hi, hope someone can help.
I have a powerpoint presentation with several questions on.
Each question has a simple 'true' or 'false' answer.
I want it so that if a user clicks the right answer it puts a text box at the bottom of the page which says 'correct' and if he clicks the wrong answer it says 'incorrect'.
I recorded a macro to change the text in the textbox which works if i run it from macros box. However if i run the presentation when i click the answer it does nothing.
This is the macro:
Any help to get this going would be much appreciated.
Thanks
Pete
I have a powerpoint presentation with several questions on.
Each question has a simple 'true' or 'false' answer.
I want it so that if a user clicks the right answer it puts a text box at the bottom of the page which says 'correct' and if he clicks the wrong answer it says 'incorrect'.
I recorded a macro to change the text in the textbox which works if i run it from macros box. However if i run the presentation when i click the answer it does nothing.
This is the macro:
Code:
Sub Macro4()
'
' Macro recorded 05/07/2004
'
ActiveWindow.Selection.Unselect
ActiveWindow.Selection.SlideRange.Shapes("Text Box 285").Select
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Select
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Characters(Start:=1, Length:=2).Select
ActiveWindow.Selection.TextRange.Text = "correct"
ActiveWindow.Selection.Unselect
End Sub
Any help to get this going would be much appreciated.
Thanks
Pete