
Signature
Ute Simon
Microsoft PowerPoint MVP Team und PowerPoint-User-Team
Tipps, Tricks und Kostenloser Newsletter: www.ppt-user.de
That would normally work. I am working on Lesson Plans for a power plant, I
make up single page presentations that use the VBA and activex controls to
simulate circuits used in the plant system. The textbox control has a
property that allows the replacement of the typed letter with "*". The
slides get very complex with timers, indicators, bi-stables, relays and
switches. But I still can't get the password to work. I did get inputbox to
work but it does not look like what they enter on the computer.
Sub PassCheck()
Dim StringPass As String
StringPass = "CHUCK"
response = UCase(InputBox("Enter password"))
GoodPW = (response = StringPass)
End Sub
What I need should look like
_____________________
| |
| Enter Password. |
[quoted text clipped - 3 lines]
| |Ok | |Cancel | |
|___________________|
Thanks for your help
> >I am using PowerPoint 2003 and have a single slide that I want to emulate a
> > program that I use at work. I have Textbox that becomes visible when a
[quoted text clipped - 13 lines]
> Best regards,
> Ute
Steve Rindsberg - 08 Apr 2007 15:31 GMT
> That would normally work. I am working on Lesson Plans for a power plant, I
> make up single page presentations that use the VBA and activex controls to
[quoted text clipped - 22 lines]
>
> Thanks for your help
Can you use an ActiveX text box control and something like this:
Private Sub txtPassCheck_Change()
If UCase(Me.txtPassCheck.Text) = "CHUCK" Then
MsgBox "You're in luck, Chuck."
End If
End Sub
Or since the user has to click another button to make this appear, why not use a
user form? The button the user clicks could trigger a macro that makes the form
visible (calls its Show method)
> > >I am using PowerPoint 2003 and have a single slide that I want to emulate a
> > > program that I use at work. I have Textbox that becomes visible when a
[quoted text clipped - 13 lines]
> > Best regards,
> > Ute
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
carbuthn - 08 Apr 2007 18:10 GMT
Thanks, I will give it a try this afternoon, tried something similar to this
with no luck, but it does give me some ideas.
> > That would normally work. I am working on Lesson Plans for a power plant, I
> > make up single page presentations that use the VBA and activex controls to
[quoted text clipped - 58 lines]
> PPTools: www.pptools.com
> ================================================
carbuthn - 09 Apr 2007 02:20 GMT
I did get a version working that is mostly what I wanted, thanks to all that
help
> Thanks, I will give it a try this afternoon, tried something similar to this
> with no luck, but it does give me some ideas.
[quoted text clipped - 61 lines]
> > PPTools: www.pptools.com
> > ================================================