How do I evaluate a text box in Powerpoint?

P

Pamela

I need to set up a text box in Powerpoint to send a student to one of two
slides, depending on whether his response to a question is correct. The
responses are simple, usually one or two words, or perhaps a number. I do
not know Visual Basic.
 
B

Bill Foley

You will need to use VBA for this. Basically you will name a textbox object
on a slide and have code that checks to see if the value of that object is
"A" or "B", and depending on which one of those it is send you to a
specified slide. I could probably whip up something if you think you want
to delve into VBA. Just keep in mind that this will NOT work on the free
PowerPoint Viewer. The end user MUST have PowerPoint installed.

I do have an example file using VBA that shows how Math can be used
interactively within PowerPoint. A couple of those slides do have textboxes
being evaluated, but don't go to a particular slide, but provides a response
based on that value. If you want, I could send you that sample file
directly to you. If interested, send me an email directly to:

pttinc at itexas dot net

--
Bill Foley, Microsoft MVP (PowerPoint)
Microsoft Office Specialist Master Instructor
www.pttinc.com
Check out PPT FAQs at: http://www.rdpslides.com/pptfaq/
"Success, something you measure when you are through succeeding."
 
D

Dr. Tom

Pamela, if the "test" is fairly simple you could also do this by giving the
answers as choices, and then hyperlinking to other slides in the
presentation. I set up a short example quickly that said- What color is an
Apple? and had two choices, Red or Green. The Red was hyperlinked to another
slide that said "That's correct, it's red!" and had a choice for "Next" which
takes the student to a new slide with a question. The "Green" takes them to a
slide saying "Incorrect" and gives them an option to go back to the question
or move on.

It is VERY simplistic solution, and may not serve your purpose, but if you
can use it, and don't have time to learn VBA, well sometimes easy beats
elegant!

If you'd like to see the file as an example, give me your e-mail address and
I will e-mail it to you.
 
D

David M. Marcovitz

What Bill and Dr. Tom said and ...

Check out the examples at my site:

http://www.PowerfulPowerPoint.com/

If you really need students to type in the answers, you'll need some VBA to
judge what they type, but you can modify some of the examples at my site
without knowing much VBA.

--David

--
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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top