Powerful PowerPoint Book Cover
Home
Buy the Book
Examples by Chapter
Examples from Real People
More Tricks
Errata
About the Author
Contact the Author
Other Resources
Powerful PowerPoint for Educators:
          Using Visual Basic for Applications to Make PowerPoint Interactive
          by David M. Marcovitz

Examples by Chapter
Chapter 9

Examples by Chapter Home | Chapter 5 | Chapter 6 | Chapter 7 | Chapter 8 | Chapter 9 | Chapter 10

Click on a an example to download it. These examples will not run over the Web, they will not run with the PowerPoint Viewer, they will not run while compressed, and they will not run with macros disabled. Be sure your macro security is set to medium or low, and be sure to unzip or unstuff the files before running them.

Note that Chapter 9 is about Debugging and Error Prevention. The examples in this chapter are examples of code with problems. The chapter discusses ways to find the bugs in this code or to prevent it in the first place.

Description Zip Version Stuffit Version Text Version
All examples from Chapter 9 Chapter9.zip
(38KB)
Chapter9.sit
(40KB)
An example of a procedure for a adding a shape, putting text in the shape, and changing the color of the shape that will run part way but stop after a few lines, from page 159 Example09-01.zip
(6KB)
Example09-01.ppt.sit
(7KB)
Example09-01.txt
(<1KB)
The same procedure as Example 9-1, except that it won't run at all, from page 160 Example09-02.zip
(6KB)
Example09-02.ppt.sit
(7KB)
Example09-02.txt
(<1KB)
An example that asks for a number grade and gives a message based on what the grade is, but it is difficult to tell what message will be displayed because the nested if statement is not indented properly, from page 165 Example09-03.zip
(8KB)
Example09-03.ppt.sit
(9KB)
Example09-03.txt
(<1KB)
The first example from Exercises to Try asks for your name and how you are doing, but it is difficult to tell what message will be displayed because the nested if statement is not indented properly, from page 171 Example09-04.zip
(8KB)
Example09-04.ppt.sit
(9KB)
Example09-04.txt
(<1KB)
The second example from Exercises to Try contains four bugs; use the debugging and error prevention methods from the chapter to find them (it is easier to find some of them if you type this in yourself), from page 172 Example09-05.zip
(9KB)
Example09-05.ppt.sit
(10KB)
Example09-05.txt
(<1KB)

Examples by Chapter Home | Chapter 5 | Chapter 6 | Chapter 7 | Chapter 8 | Chapter 9 | Chapter 10


This page was created by Dr. David M. Marcovitz.
Last updated: February 9, 2005