userName
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.2 Variable Type Pop-Up Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.3 Simple Quiz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.4 Ask For and Require a Name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.5
YourNameWithPraise
Calls
YourName
and
DoingWell
. . . . . . . . . 60
6.1
MsgBox
with Yes and No But tons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.2 Simple Quiz Showing Stars for Cor rect An swers . . . . . . . . . . . . . . . . . 70
6.3 Cus tom Animation to Find Shape Num bers . . . . . . . . . . . . . . . . . . . . . 71
6.4 Find ing the Object Number in PowerPoint 2002. . . . . . . . . . . . . . . . . . 72
6.5 Shapes on a Slide, with Names in Quotations Below . . . . . . . . . . . . . . 73
6.6 Signs of Spring Discussion Slide—Before and Af ter . . . . . . . . . . . . . . 82
6.7 The Mys tery Pre sen ta tion Slides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.8 The Mystery Presentation VBA Code . . . . . . . . . . . . . . . . . . . . . . . . . . 87
7.1 Mul tiple-Choice Test with Scorekeeping . . . . . . . . . . . . . . . . . . . . . . . 93
7.2 Question Slide with Next and Previous But tons . . . . . . . . . . . . . . . . . . 97
7.3 Short-Answer Question Slide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
7.4 Ex ample of Printable Slide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
7.5 Ex ample Tu torial and Quiz PowerPoint Slides . . . . . . . . . . . . . . . . . . 110
7.6 VBA Code for Menus with Feedback in Tu torial and Quiz . . . . . . . . 111
7.7 VBA Code to Hide and Show the Quiz Button . . . . . . . . . . . . . . . . . . 114
8.1 Run ning a Macro in Edit View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
8.2 VBA Code for Se lecting Five Questions from a Pool of Questions . . 147
9.1 Typ i cal Com pile Er ror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
9.2 Typ i cal Com pile Er ror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
9.3 Auto-Complete Sug gestions from the VBA Ed itor . . . . . . . . . . . . . . . 166
xii List of Figures
9.4 VBA Ed i tor Sug gests Pa ram e ters for the
Do'stlaringiz bilan baham: |