|
19-06-09
|
|||
|
|||
|
Slideshow VBA Help
Morning all.
I'm hoping you can help as I'm stumped. I'm usually good with Powerpoint (animation etc) but not with VBA and I'm presuming VBA would be needed for what I'd like. Basically, I have a presentation that I've set up for my pupils that is a sort of quiz. What I would like is for one of the pages to require a password entering before they can continue (the answers to the previous questions should have given them the correct letters to use). The password is only going to be 5 letters long. I know I've seen this done before, but I can't work out how to put editable text boxes in a show let alone create a password system. Any search I run on passwords in powerpoint slideshows brings up nothing. Does anyone have any idea if what I'm asking is possible and if so, how I would go about it? Thanks in advance for any help.
|
|
24-06-09
|
|||
|
|||
|
Hi Jenny
First make sure the student cannot use the keyboard shortcuts by using kiosk mode. Insert a control textbox from the control toolbox (how you get there varies with version) Right click it and > View Code You should see two line of code already entered. Private Sub TextBox1_Change() End Sub Between them paste in this code. Modify Pass as you wish! Dim pass As String pass = "whatever" If Me.TextBox1.Text = pass Then _ SlideShowWindows(1).View.Next
__________________
John Wilson Microsoft PowerPoint MVP PowerPoint Alchemy - Amazing free tutorials! |
![]() |
| Thread Tools | |
| Display Modes | |
| Similar Threads | |||||
| Thread | Thread Starter | Forum | Replies | ||
| Automatically open .ppt attachment in slideshow mode | rekop | PowerPoint Questions and Answers | 16 | ||
| VBA - alternate row color in ppt table | blinky | PowerPoint Questions and Answers | 3 | ||
| VBA Slide Moue Move Action | LoveCandle | PowerPoint Questions and Answers | 0 | ||
| preventing screensaver whilst slideshow is running | sivart | PowerPoint Questions and Answers | 1 | ||
| Slideshow mode reverts to edit mode | brownc | PowerPoint Questions and Answers | 5 | ||