Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / September 2007

Tip: Looking for answers? Try searching our database.

Macro Passwords

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pendrome - 03 Sep 2007 20:38 GMT
Is there any way to create a nice password box and add it to my PowerPoint
Show?
And if so, can I add several different user names and passwords?
Bill Dilworth - 04 Sep 2007 03:25 GMT
Yes, this is doable, but not suggested as a beginner VBA project.

Do you have coding experience?

Signature

Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@     Please read the PowerPoint FAQ pages.
yahoo.             They answer most of our questions.
com                 www.pptfaq.com
.

> Is there any way to create a nice password box and add it to my PowerPoint
> Show?
> And if so, can I add several different user names and passwords?
Pendrome - 05 Sep 2007 00:22 GMT
I do have good experience on VBA. Please send me the code. Thanks in advance,
Mr. Dilworth.

> Yes, this is doable, but not suggested as a beginner VBA project.
>
[quoted text clipped - 3 lines]
> > Show?
> > And if so, can I add several different user names and passwords?
Bill Dilworth - 05 Sep 2007 04:54 GMT
Hi Pendrome,

Don't misunderstand -- but we don't do the work for you (send you the code),
we only help with problem areas you run into.  If you want finished code,
you should hire a free-lance VBA coder experienced with Office & PowerPoint.

Your solution may be simpler but here is how I would attack the logic behind
this function.  I would approach this by creating a pair of named text boxes
on the first slide.  Then I would add paired lines with passwords in one
text box and user names in the other. After the names and passwords are
entered into these text boxes I would set both of them to invisible. I would
also set all the slides to "hidden", except the first one.

Then you get into the coding.  On the first slide I would make a button that
fires your code.  The code would simply present a pair of input boxes then
do a Trim(LCase()) compare of the text they entered with each line of the
name file, then find the same line in the other text box and do a
Trim(Lcase()) compare of the password against what they entered.  If it
doesn't match, then exit the show with a nasty warning.  If it does match,
then I would have the code set all the slides to un-hidden and advance to
the 2nd slide.

When everything is done, I would save it as a PPS file.

This is in no means a secure way to run a protected show, it is a very
simple/basic password permission.

Signature

Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@     Please read the PowerPoint FAQ pages.
yahoo.             They answer most of our questions.
com                 www.pptfaq.com
.

>I do have good experience on VBA. Please send me the code. Thanks in
>advance,
[quoted text clipped - 8 lines]
>> > Show?
>> > And if so, can I add several different user names and passwords?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.