Can anyone help as VBA is something I have never dabbled with. Idea is
to set up a multiple choice quiz in PowerPoint that fires back a msgbox
saying right or wrong and then advances to next slide, so that's no
problem using
Sub Wrong()
MsgBox ("Sorry, that's not right.")
SlideShowWindows(1).View.Next
End Sub
same principle to display right().....
Question is how do I create a macro that would count how many times sub
wrong() or sub right() has run over the course of the slide show and
then display the answer by clicking a button to run this "count macro"
on the last slide?
Just seems an easy way to introduce my students to a little more
beyond basic slideshows...
David Phillips
Kings School, Canterbury, Kent
David M. Marcovitz - 30 Jun 2006 14:56 GMT
David,
I have lots of examples just like this on my Web site. Go to:
http://www.PowerfulPowerPoint.com/
Click on "Examples by Chapter" and look in Chapter 7 for many examples of
multiple-choice and short-answer quizzes.
The thing you are describing is Example 7.2.
--David

Signature
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
djphillips1408@hotmail.com wrote in news:1151674289.886113.178410
@y41g2000cwy.googlegroups.com:
> Can anyone help as VBA is something I have never dabbled with. Idea is
> to set up a multiple choice quiz in PowerPoint that fires back a msgbox
[quoted text clipped - 20 lines]
> David Phillips
> Kings School, Canterbury, Kent
John Wilson - 30 Jun 2006 17:20 GMT
You need the book "powerful powerpoint for educators" which is all about vba
in education.
Expensive book in the UK but I just happen to have a spare copy for sale
(brand new and 75% of amazons price!)! Drop me an email if you are interested
David Marcovitz's site is here:
http://www.loyola.edu/edudept/PowerfulPowerPoint/Chapter5Examples.html

Signature
-----
Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html
> Can anyone help as VBA is something I have never dabbled with. Idea is
> to set up a multiple choice quiz in PowerPoint that fires back a msgbox
[quoted text clipped - 20 lines]
> David Phillips
> Kings School, Canterbury, Kent