Copying Text from user to a new slide

  • Thread starter Thread starter Glen B
  • Start date Start date
G

Glen B

I am trying to create a training PPT that will allow the
user to enter information in a text box and then copy what
is typed and paste it on another slide to compare that
answer to a correct answer. Any ideas. "Are there any
good books on VBA?
 
There are some possibilities for this. The easiest possibility is to use
an InputBox to pop up a simple dialog box on the screen that asks for
input. Check out my web site:

http://www.loyola.edu/education/PowerfulPowerPoint/

It is the companion site to my book, which might be what you are looking
for. You specifically want to look for the examples in Chapter 5, and
Examples 6-6 through 6-8.

--David

--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
I am trying to create a training PPT that will allow the
user to enter information in a text box and then copy what
is typed and paste it on another slide to compare that
answer to a correct answer. Any ideas. "Are there any
good books on VBA?

For resources on learning VBA, check here:
http://www.rdpslides.com/pptfaq/FAQ00032.htm

David Marcovitz' book may be just what you're after (there's a link on that
page to his site)

Also, consider this:

Function Ask(sQuestion as String, sCorrectAnswer as String) as Boolean
' Asks for user input, compares it against correct answer supplied
' Returns true or false, depending on whether user gave correct answer or not

If ucase(InputBox(sQuestion,"Please type your answer")) = _
ucase(sCorrectAnswer) Then
Ask = True
Else
Ask = False
End If

End Function

Sub TestAskFunction()
' Here's how you'd use the Ask Function

If Ask("How old is Steve","Paleolithic") then
msgbox "Congratulations! He really IS old, isn't he!"
Else
msgbox "No, he's much older than that"
End if
End Sub

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Featured Presenter, PowerPoint Live 2004
October 10-13, San Diego, CA www.PowerPointLive.com
================================================
 
Back
Top