The scoring that I have on my powerpoint was set up by someone else. When I
try to use your examples, the "two" do not want to work together. Basically I
believe I am over my head here. I am going to buy the book..Thank you for
your help.
> It sounds like you might have used some of my examples. You might look at
> Example 7.9 at my site:
[quoted text clipped - 25 lines]
> > completing the program.
> > Any suggestions?
I'm glad you're interested in the book. You might be over your head for
now, but you'll catch on. Without actually seeing the other person's
code, it is hard to tell exactly what you need to do to put the name on
the slide. It's not very hard...if you know what you're doing. If you
copy your code here, someone might be able to figure out how to do what
want in the context of your code.
--David

Signature
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
"=?Utf-8?B?UHJvamVjdCBPcmc=?=" <ProjectOrg@discussions.microsoft.com>
wrote in news:DE509F6B-89BE-4E0A-878D-84DD684A9883@microsoft.com:
> The scoring that I have on my powerpoint was set up by someone else.
> When I try to use your examples, the "two" do not want to work
[quoted text clipped - 31 lines]
>> > using this last slide as a certificate for completing the program.
>> > Any suggestions?
Project Org - 08 Mar 2005 20:25 GMT
Any help is appreciated.
Below is the code for the test that I have on my powerpoint now. The scoring
is setup on the master so on each slide the person can see their scoring as
they proceed. When I try to put in the code to prompt for the username - the
code given in this post, the prompt works but then whenever the Begin button
on the first slide is clicked it will not advance and the values for the test
do not reset to zero.
The username should appear on the last slide to print as a certificate.
(This includes their scoring.)
Sub Begin()
SlideMaster.CorrectBox.Value = 0
SlideMaster.WrongBox.Value = 0
SlideMaster.ScoreBox.Value = 0
SlideMaster.AnswersBox.Value = 0
SlideShowWindows(1).View.GotoSlide 2
End Sub
Sub Rightanswer()
SlideMaster.CorrectBox.Value = SlideMaster.CorrectBox.Value + 1
SlideMaster.AnswersBox.Value = SlideMaster.AnswersBox.Value + 1
SlideMaster.ScoreBox.Value = Round(SlideMaster.CorrectBox.Value /
SlideMaster.AnswersBox.Value * 100, 2)
SlideShowWindows(1).View.Next
End Sub
Sub Wronganswer()
SlideMaster.WrongBox.Value = SlideMaster.WrongBox.Value + 1
SlideMaster.AnswersBox.Value = SlideMaster.AnswersBox.Value + 1
SlideMaster.ScoreBox.Value = Round(SlideMaster.CorrectBox.Value /
SlideMaster.AnswersBox.Value * 100, 2)
MsgBox "Incorrect. Try again."
End Sub
Sub PrintResults()
ActivePresentation.PrintOptions.OutputType = ppPrintOutputSlides
ActivePresentation.PrintOut From:=3, To:=3
ActivePresentation.SlideShowWindow.View.Exit
End Sub
> I'm glad you're interested in the book. You might be over your head for
> now, but you'll catch on. Without actually seeing the other person's
[quoted text clipped - 39 lines]
> >> > using this last slide as a certificate for completing the program.
> >> > Any suggestions?
David M. Marcovitz - 09 Mar 2005 14:41 GMT
This is good, but you did not include the code for getting the user's
name. Since that is where the problem is and you didn't include that, I'm
not sure why that code isn't working.
--David

Signature
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
"=?Utf-8?B?UHJvamVjdCBPcmc=?=" <ProjectOrg@discussions.microsoft.com>
wrote in news:60AD8AC5-BEAB-4219-8FB7-3042D1862561@microsoft.com:
> Any help is appreciated.
>
[quoted text clipped - 83 lines]
>> >> > the persons name. I am using this last slide as a certificate
>> >> > for completing the program. Any suggestions?