im2bz2p345
Board Regular
- Joined
- Mar 31, 2008
- Messages
- 229
Hello all,
I am trying to formulate a VB macro to use in Powerpower on 4 buttons.
Below is my code
The weird thing is, when I click on a button that has the incorrect answer, the macro pops up a blank dialog box.
When I select the correct answer button, a blank message box appears, but I do move to the next slide. So I know that this portion of the code is working: SlideShowWindows(1).View.Next
I need the message dialog box to say "Incorrect" or "Correct" when selecting the appropriate buttons on my powerpoint slide. I hope this is making sense, if not - just ask and I'll clarify.
Thanks for any help in advance!
~ Im2bz2p345
I am trying to formulate a VB macro to use in Powerpower on 4 buttons.
Below is my code
Code:
Sub Wrong()
MsgBox "Incorrect"
End Sub
Sub Right()
MsgBox "Correct"
SlideShowWindows(1).View.Next
End Sub
Sub RightLast()
MsgBox "Congratulations"
End Sub
The weird thing is, when I click on a button that has the incorrect answer, the macro pops up a blank dialog box.
When I select the correct answer button, a blank message box appears, but I do move to the next slide. So I know that this portion of the code is working: SlideShowWindows(1).View.Next
I need the message dialog box to say "Incorrect" or "Correct" when selecting the appropriate buttons on my powerpoint slide. I hope this is making sense, if not - just ask and I'll clarify.
Thanks for any help in advance!
~ Im2bz2p345