Powerful PowerPoint for Educators

Using Visual Basic for Application to Make PowerPoint Interactive

by David M. Marcovitz

Examples by Chapter
Chapter 7

Examples by Chapter Home | Chapter 6 | Chapter 7 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12

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.

# Pages from Book Description Zip Version Text Version
7 87-120 All examples from Chapter 7 Chapter7.zip
(599KB)
 
7.1 88 Very simple SayHello procedure with how to put comments in the code. Example07-01.zip
(35B)
Example07-01.txt
(1KB)
7.2 89 YourNameWithPraise that automatically goes to the next slide. Example07-02.zip
(39KB)
Example07-02.txt
(1KB)
7.3 92 Chocolate procedure demonstrating Yes/No options in a MsgBox. Example07-03.zip
(35KB)
Example07-03.txt
(1KB)
7.4 92 Quit button that uses Yes/No MsgBox to ask if you are sure you want to quit. Example07-04.zip
(37KB)
Example07-04.txt
(1KB)
7.5 93 Demonstration of functions with the Add5 function used in a few procedures. Example07-05.zip
(38KB)
Example07-05.txt
(1KB)
7.6 97 Hiding and Showing Shapes - Simple quiz that shows a star when the correct answer is chosen. This is example uses shape and slide numbers. Example07-06.zip
(43KB)
Example07-06.txt
(1KB)
7.7 99-101 Simple procedures to get the name of a shape, set the name of a shape, get the name of a slide, and set the name of a slide Example07-07.zip
(62KB)
Example07-07.txt
(1KB)
7.8 103 Hiding and Showing Shapes Using Shape and Slide Names - Simple quiz that shows a star when the correct answer is chosen. This procedure uses shape names and slide names instead of numbers. Example07-08.zip
(45KB)
Example07-08.txt
(1KB)
7.9 106 This Slide or Another Slide - Same as Example 7.8, except that it uses one RightAnswer procedure by showing the star on the current slide, rather than separate RightAnswer procedures that show the star on specific slides. Example07-09.zip
(45KB)
Example07-09.txt
(1KB)
7.10 107 Show It All - A procedure to show all shapes in the presentation that have been hidden (setting .Visible = True) for all shapes. Example07-10.zip
(48KB)
Example07-10.txt
(1KB)
7.11 108 Add Text to a Shape - Same as Example 7.9, except that the star being added gets the user's name added to it as well. Example07-11.zip
(44KB)
Example07-11.txt
(2KB)
7.12 111 Creates a personalized story that includes the user's name. Example07-12.zip
(36KB)
Example07-12.txt
(1KB)
7.13 111-112 Signs of Spring - Adds text to an text boxes in an existing slide during a presentation. Example07-13.zip
(39KB)
Example07-13.txt
(1KB)
7.14 116-117 Mystery Example - Culminating example from the chapter where clues are given to help solve a mystery. Clues are recorded on the clue sheet with the color of the answers manipulated. When the right answers is typed, feedback is given and a shape appears. Example07-14.zip
(58KB)
Example07-14.txt
(2KB)

Examples by Chapter Home | Chapter 6 | Chapter 7 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12


This page was created by Dr. David M. Marcovitz.
Last updated: May 11, 2012