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.
--
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
..