Interactivity in PowerPoint USING VISUAL BASIC
Jul 27, 2015
Interactivity in PowerPointUSING VISUAL BASIC
Set up your slide with the components you want
Invisible shapes for hotspots
Quiz questions and answers
Save as a macro-enabled presentation
File > Save As
View your developer tab
File > Options > Customize Ribbon
Add Visual Basic Code
Developer > Visual Basic
Insert > New Module
Each subroutine (sub) you write will
be a separate macro in your
presentation
To add a macro to an shape/text box
Select it
Go to Insert > Action
Choose “run macro” and pick the name of the
relevant subroutine
More complicated: adding a score
Variable to keep track of how many correct answers given
Each time an question is answered correctly, this increases by one
Show this value when the user has finished the quiz
More complicated: If each question is on a new slide
Moves on to the next slide once they have answered the question
More complicated: personalisationDeclare a username variable as a string (text)
Include the username in their welcome messageFind out their name