Need a pop up window to enter names

  • Thread starter Thread starter DB
  • Start date Start date
D

DB

Hi,

I just joined the group tonight and need some help. I've been given a
project at work to create a presentation using version 2003. The
problem is I have a slide with a Sign-In button and I need to have a
fill in pop up window display when they click the button so the
students can enter their name. Someone told me I needed to do this in
what's called VBS but they weren't sure how. If anyone can point me
in the right direction, I'd appreciate it. TIA.
 
You would need to use vba code (visual basic for applications)

The basic code to get a name entry would be

Dim strName As String
Sub Getname()
strName = InputBox("Please enter your name")
End Sub

However I guess you would also want to do something with the name which
would require extra code.

If you don't know how to use vba check out these sites
http://pptfaq.com/FAQ00033.htm
http://www.pptalchemy.co.uk/vba.html
 
You would need to use vba code (visual basic for applications)

The basic code to get a name entry would be

Dim strName As String
Sub Getname()
strName = InputBox("Please enter your name")
End Sub

However I guess you would also want to do something with the name which
would require extra code.







- Show quoted text -

Thanks for the reply John. It worked great. You were right in
assuming I'd need the name entry to do something and I didn't think
about the fact that I'd need the students to print a certificate of
completion at the end and I need to have another button or some way on
the name entry box to transition the users to the next slide. I
assume I need to add additional vba code but haven't been able to find
it so far. Can you help again? Thanks.

Dawn
 
Thanks for the reply John. It worked great. You were right in
assuming I'd need the name entry to do something and I didn't think
about the fact that I'd need the students to print a certificate of
completion at the end and I need to have another button or some way on
the name entry box to transition the users to the next slide. I
assume I need to add additional vba code but haven't been able to find
it so far. Can you help again? Thanks.

Dawn

Dawn,

Lots of code on my site that does things like what you want to do. Check
out Example 7.9 (for starters) at:

http://www.PowerfulPowerPoint.com/

It includes code for printing something at the end of the slide show that
includes the name.

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