Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / June 2006

Tip: Looking for answers? Try searching our database.

counting macro occurence in vba

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
djphillips1408@hotmail.com - 30 Jun 2006 14:31 GMT
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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.