Welcome to   Transforming PowerPoint: Creating an Interactive Environment using VBA  <ul><li>Log onto computer </li></ul><...
Transforming PowerPoint: Creating an Interactive Environment using VBA  DTSD C.A.R.A.T.S. Teacher Training Melanie Wiscoun...
Transforming PowerPoint Creating an Interactive Learning Environment <ul><li>Some information in session is from: </li></u...
Objective  <ul><li>Create interactive presentations adding Visual Basic scripting and tools in Microsoft PowerPoint to: </...
What is Presentation Software? <ul><li>Create interactive presentations containing text, art, animation, and audio and vid...
What is MS PowerPoint? <ul><li>A presentation program developed by Microsoft </li></ul><ul><li>Part of the Microsoft Offic...
What is MS Visual Basic? <ul><li>An event driven programming language by Microsoft </li></ul><ul><li>Derived from BASIC  <...
What is VBA? <ul><li>Visual Basic for applications </li></ul><ul><li>Application edition of Microsoft's Visual Basic progr...
What Are The Benefits Of Using Presentations In The Classroom? <ul><li>Appeals to our  digital native  students </li></ul>...
What Are The Benefits Of Using Presentations In The Classroom? <ul><li>Present information or instruction to an entire cla...
How to Use Interactive Presentations  in the Classroom <ul><li>Present Content in an interactive way </li></ul><ul><ul><li...
PowerPoint + VBA <ul><li>Ask and evaluate questions </li></ul><ul><li>Evaluate questions </li></ul><ul><li>Track responses...
Ready to Start <ul><li>Let’s create Interactive PowerPoint Presentations using VBA! </li></ul><ul><li>Open PowerPoint </li...
Visual Basic Application (VBA) <ul><li>Design  Form  (Control Toolbox) </li></ul><ul><li>Set  Properties   (Properties) </...
Getting Started <ul><li>Controlling Navigation </li></ul><ul><ul><li>Turning on Kiosk Mode </li></ul></ul><ul><li>Enabling...
Kiosk Mode <ul><li>Controls navigation </li></ul><ul><li>Viewers/Students navigate through Buttons and Hyperlinks </li></u...
Kiosk Mode <ul><li>Slide Show Menu </li></ul><ul><li>Select Set-up Show </li></ul><ul><ul><li>Click “Browsed at a Kiosk (f...
Security Settings –  Change Macro Settings <ul><li>Tools Menu </li></ul><ul><li>Options </li></ul><ul><ul><li>Macro Securi...
ActiveX Controls Fun with the Control ToolBox
Active X Control Toolbar <ul><li>View </li></ul><ul><li>Toolbars </li></ul><ul><li>Control ToolBox </li></ul>
Active X Control Toolbar View Code Textbox Option Button Combo Box Spin Button Label More Controls Properties Check Box Co...
Type On Slides Great Assessment Tool! How to Create a “Type-On” Slide Recording Responses during a  Live Presentation
Type on Slides <ul><li>Add a picture </li></ul><ul><li>Add textboxes to label parts of the picture </li></ul>
Type on Slides <ul><li>Draw Textbox Control beside each part to identify </li></ul><ul><li>Click on Properties Control </l...
Type on Slides <ul><li>Draw Textbox Control </li></ul><ul><li>Click on Properties Control </li></ul>
Type on Slides <ul><li>Select  True  in Properties for  EnterKeyBehavior  and  Multiline </li></ul>Textbox Control
Type on Slides <ul><li>Click on Label control & draw over Textbox Control </li></ul><ul><li>2.  Click on Properties & add ...
Type on Slides <ul><li>Change the following properties: </li></ul><ul><ul><li>Back color </li></ul></ul><ul><ul><li>Font <...
Type on Slides
Type on Slides <ul><li>Click on Action Button & draw under Textbox Control </li></ul><ul><li>2.  Click on Properties & cha...
Type on Slides <ul><li>To add actions to the ActiveX controls: </li></ul><ul><ul><li>Double-click the command button contr...
Type on Slides <ul><li>Insert the code between &quot;Private Sub CommandButton1_Click()&quot; and &quot;End Sub“ </li></ul...
Type on Slides <ul><li>How to  improve  quiz? </li></ul><ul><ul><li>Add  Name  Label & Textbox controls </li></ul></ul><ul...
VBA Scripting
Screen Shot of Visual Basic Editor
Visual Basic for Applications <ul><li>Object-Oriented Programming (OOP) </li></ul><ul><ul><li>Classes = Types of Things </...
Class -> Object -> Method Cars  =  Class  of Thing Toyota Corolla  = Specific  Object  in Class Driving in my car  = Speci...
VB Keywords <ul><li>Sub = Subroutine </li></ul><ul><li>Dim = Declared Variable </li></ul><ul><li>Variable Types </li></ul>...
Good Programming Practice  <ul><li>Use LOTS of comments </li></ul><ul><ul><li>what your code does and why </li></ul></ul><...
Convert to VBA <ul><li>myCar = Object of Class Cars </li></ul><ul><li>myCar.Drive = Method/Action that can be done on Obje...
Macros <ul><li>An action or a set of actions you can use to automate tasks.  </li></ul><ul><li>Macros are recorded in the ...
VBA –Message Box <ul><li>Hold Alt and F11 </li></ul><ul><li>Insert Module – If not there </li></ul><ul><li>Type </li></ul>...
Add VBA Script to Button <ul><li>Assign the Hello macro to an action button </li></ul><ul><li>Draw Button from AutoShapes ...
VBA –Input Box <ul><li>Hold Alt and F11 </li></ul><ul><li>Insert Module – If not there Type </li></ul><ul><ul><li>Sub Your...
Quiz <ul><li>See Examples </li></ul><ul><li>Create your own Quiz with: </li></ul><ul><ul><li>Interactivity </li></ul></ul>...
Any Questions? Thank you!!!
Upcoming SlideShare
Loading in...5
×

Transforming Power Point Show with VBA

9,997

Published on

This is a presentation I used in my
Transforming PowerPoint with Visual Basic Applications.

Published in: Business, Technology
3 Comments
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
9,997
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
3
Likes
5
Embeds 0
No embeds

No notes for slide
  • Transforming Power Point Show with VBA

    1. 1. Welcome to Transforming PowerPoint: Creating an Interactive Environment using VBA <ul><li>Log onto computer </li></ul><ul><li>Open Internet Explorer </li></ul><ul><li>URL - http://dtsdtechtraining.wikispaces.com </li></ul><ul><li>Open My Computer </li></ul><ul><ul><li>Go to Curriculum on dtsd files Drive (X:) </li></ul></ul><ul><ul><li>Wiscount folder </li></ul></ul><ul><ul><li>VBA PPT folder </li></ul></ul>
    2. 2. Transforming PowerPoint: Creating an Interactive Environment using VBA DTSD C.A.R.A.T.S. Teacher Training Melanie Wiscount [email_address]
    3. 3. Transforming PowerPoint Creating an Interactive Learning Environment <ul><li>Some information in session is from: </li></ul><ul><li>PETE+C 2008 – February 10, 2008 </li></ul><ul><li>Dr. P. David Lees </li></ul><ul><ul><li>Director, Instructional Technology & Distributed Learning </li></ul></ul><ul><ul><ul><li>St. Joseph’s University </li></ul></ul></ul>
    4. 4. Objective <ul><li>Create interactive presentations adding Visual Basic scripting and tools in Microsoft PowerPoint to: </li></ul><ul><ul><li>gather student input </li></ul></ul><ul><ul><li>create quizzes </li></ul></ul><ul><ul><li>turn PowerPoint into more than just a presentation of information </li></ul></ul>
    5. 5. What is Presentation Software? <ul><li>Create interactive presentations containing text, art, animation, and audio and video elements </li></ul><ul><li>Application program used to create sequences of words and pictures </li></ul><ul><ul><li>Informative presentations </li></ul></ul><ul><ul><li>Storytelling presentations </li></ul></ul><ul><ul><li>Persuasive presentations </li></ul></ul><ul><ul><li>Interactive presentations </li></ul></ul>
    6. 6. What is MS PowerPoint? <ul><li>A presentation program developed by Microsoft </li></ul><ul><li>Part of the Microsoft Office system </li></ul><ul><li>Runs on Microsoft Windows and the Mac OS computer operating systems </li></ul><ul><li>Most commonly-used presentation software </li></ul><ul><li>Easy to learn & relearn </li></ul>
    7. 7. What is MS Visual Basic? <ul><li>An event driven programming language by Microsoft </li></ul><ul><li>Derived from BASIC </li></ul><ul><li>Enables the RAD (Rapid Application Development) </li></ul><ul><ul><li>Of GUI (Graphical User Interface) </li></ul></ul><ul><li>Using: </li></ul><ul><ul><li>ActiveX controls (COM developed by Microsoft for Windows platforms) </li></ul></ul><ul><ul><li>VBA (present in Microsoft Office applications) </li></ul></ul><ul><ul><li>VBScript (Visual Basic code object) </li></ul></ul>
    8. 8. What is VBA? <ul><li>Visual Basic for applications </li></ul><ul><li>Application edition of Microsoft's Visual Basic programming language </li></ul>
    9. 9. What Are The Benefits Of Using Presentations In The Classroom? <ul><li>Appeals to our digital native students </li></ul><ul><li>Introduces and reinforces content with meaningful graphic support </li></ul><ul><li>Create interactive presentations containing text, art, animation, and audio and video elements </li></ul>
    10. 10. What Are The Benefits Of Using Presentations In The Classroom? <ul><li>Present information or instruction to an entire class </li></ul><ul><li>Create graphically enhanced information and instructions for the learning centers </li></ul><ul><li>Create tutorials, reviews, or quizzes for individual students </li></ul><ul><li>Display student work and curriculum materials or accompany teacher presentations at parent open houses or technology fairs </li></ul>
    11. 11. How to Use Interactive Presentations in the Classroom <ul><li>Present Content in an interactive way </li></ul><ul><ul><li>Teacher to Audience </li></ul></ul><ul><li>Student Interaction Creation </li></ul><ul><ul><li>Teacher to Student </li></ul></ul><ul><li>Student Assessment </li></ul><ul><ul><li>Type on Slides </li></ul></ul><ul><ul><li>Quizzes </li></ul></ul><ul><ul><li>Interactive activities </li></ul></ul><ul><ul><li>Application of knowledge </li></ul></ul><ul><ul><ul><li>Student to Audience </li></ul></ul></ul>
    12. 12. PowerPoint + VBA <ul><li>Ask and evaluate questions </li></ul><ul><li>Evaluate questions </li></ul><ul><li>Track responses </li></ul><ul><li>Store information </li></ul><ul><li>Provide feedback </li></ul><ul><li>Generate reports </li></ul>
    13. 13. Ready to Start <ul><li>Let’s create Interactive PowerPoint Presentations using VBA! </li></ul><ul><li>Open PowerPoint </li></ul><ul><li>Start a New Presentation </li></ul><ul><li>Save As VBA_PPT and save on Desktop </li></ul>
    14. 14. Visual Basic Application (VBA) <ul><li>Design Form (Control Toolbox) </li></ul><ul><li>Set Properties (Properties) </li></ul><ul><li>Create Code (Visual Basic Editor) </li></ul>
    15. 15. Getting Started <ul><li>Controlling Navigation </li></ul><ul><ul><li>Turning on Kiosk Mode </li></ul></ul><ul><li>Enabling Macros </li></ul><ul><ul><li>Changing Security Setting </li></ul></ul>
    16. 16. Kiosk Mode <ul><li>Controls navigation </li></ul><ul><li>Viewers/Students navigate through Buttons and Hyperlinks </li></ul><ul><li>Only automatic animations will work </li></ul><ul><li>Save presentation as a PowerPoint Show - .pps </li></ul>
    17. 17. Kiosk Mode <ul><li>Slide Show Menu </li></ul><ul><li>Select Set-up Show </li></ul><ul><ul><li>Click “Browsed at a Kiosk (full screen)” & OK </li></ul></ul>1 2
    18. 18. Security Settings – Change Macro Settings <ul><li>Tools Menu </li></ul><ul><li>Options </li></ul><ul><ul><li>Macro Security Button </li></ul></ul><ul><ul><li>Choose Level – Medium or Low </li></ul></ul>1 2
    19. 19. ActiveX Controls Fun with the Control ToolBox
    20. 20. Active X Control Toolbar <ul><li>View </li></ul><ul><li>Toolbars </li></ul><ul><li>Control ToolBox </li></ul>
    21. 21. Active X Control Toolbar View Code Textbox Option Button Combo Box Spin Button Label More Controls Properties Check Box Command Button List Box Toggle Button Scroll Bar Image
    22. 22. Type On Slides Great Assessment Tool! How to Create a “Type-On” Slide Recording Responses during a Live Presentation
    23. 23. Type on Slides <ul><li>Add a picture </li></ul><ul><li>Add textboxes to label parts of the picture </li></ul>
    24. 24. Type on Slides <ul><li>Draw Textbox Control beside each part to identify </li></ul><ul><li>Click on Properties Control </li></ul>Find a picture that you would like students to identify parts/components and paste it to a slide
    25. 25. Type on Slides <ul><li>Draw Textbox Control </li></ul><ul><li>Click on Properties Control </li></ul>
    26. 26. Type on Slides <ul><li>Select True in Properties for EnterKeyBehavior and Multiline </li></ul>Textbox Control
    27. 27. Type on Slides <ul><li>Click on Label control & draw over Textbox Control </li></ul><ul><li>2. Click on Properties & add text to Label Control Caption property </li></ul>
    28. 28. Type on Slides <ul><li>Change the following properties: </li></ul><ul><ul><li>Back color </li></ul></ul><ul><ul><li>Font </li></ul></ul><ul><ul><li>Fore Color </li></ul></ul><ul><ul><li>Text Align </li></ul></ul>
    29. 29. Type on Slides
    30. 30. Type on Slides <ul><li>Click on Action Button & draw under Textbox Control </li></ul><ul><li>2. Click on Properties & change Back Color, Caption, Font, Fore Color </li></ul>
    31. 31. Type on Slides <ul><li>To add actions to the ActiveX controls: </li></ul><ul><ul><li>Double-click the command button control to display the Visual Basic Editor </li></ul></ul><ul><ul><li>Set a reference to the Microsoft Scripting Runtime </li></ul></ul><ul><ul><ul><li>On the Tools menu , click References , and then select the Microsoft Scripting Runtime check box </li></ul></ul></ul>
    32. 32. Type on Slides <ul><li>Insert the code between &quot;Private Sub CommandButton1_Click()&quot; and &quot;End Sub“ </li></ul><ul><ul><li>Copy and paste the code in the .txt file Type_On_Slide_VBA_Code </li></ul></ul><ul><li>Click on SAVE & Close Visual Editor </li></ul><ul><li>Click on SAVE & Run the Show </li></ul><ul><li>Take the quiz </li></ul><ul><li>Look for results </li></ul>
    33. 33. Type on Slides <ul><li>How to improve quiz? </li></ul><ul><ul><li>Add Name Label & Textbox controls </li></ul></ul><ul><ul><li>Add option button questions </li></ul></ul><ul><ul><ul><li>Add label </li></ul></ul></ul><ul><ul><ul><ul><li>May “Copy & Paste” </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Add option button controls </li></ul></ul></ul></ul><ul><ul><li>Edit properties </li></ul></ul><ul><ul><ul><li>Textbox - Select True in Properties for E nterKeyBehavior and Multiline </li></ul></ul></ul><ul><ul><li>Edit code </li></ul></ul>
    34. 34. VBA Scripting
    35. 35. Screen Shot of Visual Basic Editor
    36. 36. Visual Basic for Applications <ul><li>Object-Oriented Programming (OOP) </li></ul><ul><ul><li>Classes = Types of Things </li></ul></ul><ul><ul><li>Objects = Specific Things </li></ul></ul><ul><ul><li>Methods = What You Do With Things </li></ul></ul>
    37. 37. Class -> Object -> Method Cars = Class of Thing Toyota Corolla = Specific Object in Class Driving in my car = Specific method to do with my car
    38. 38. VB Keywords <ul><li>Sub = Subroutine </li></ul><ul><li>Dim = Declared Variable </li></ul><ul><li>Variable Types </li></ul><ul><ul><li>String </li></ul></ul><ul><ul><li>Boolean (True or False values) </li></ul></ul><ul><li>‘ before a comment ( turns green ) </li></ul>
    39. 39. Good Programming Practice <ul><li>Use LOTS of comments </li></ul><ul><ul><li>what your code does and why </li></ul></ul><ul><li>Comment each subroutine and function with a description </li></ul><ul><ul><li>what it does </li></ul></ul><ul><ul><li>what input and output it takes </li></ul></ul>
    40. 40. Convert to VBA <ul><li>myCar = Object of Class Cars </li></ul><ul><li>myCar.Drive = Method/Action that can be done on Object of Class Cars </li></ul><ul><li>“ Hershey” = the Argument for the Method – Where I am driving to </li></ul>Dim myCar as Corolla myCar.Drive (“Hershey”) Setting Variables
    41. 41. Macros <ul><li>An action or a set of actions you can use to automate tasks. </li></ul><ul><li>Macros are recorded in the VBA code </li></ul>
    42. 42. VBA –Message Box <ul><li>Hold Alt and F11 </li></ul><ul><li>Insert Module – If not there </li></ul><ul><li>Type </li></ul><ul><ul><li>Sub SayHello() </li></ul></ul><ul><ul><ul><li>MsgBox (“Hello”) </li></ul></ul></ul><ul><ul><li>End sub – (Will Appear Automatically) </li></ul></ul><ul><li>Run Script </li></ul><ul><ul><li>Run Menu </li></ul></ul>
    43. 43. Add VBA Script to Button <ul><li>Assign the Hello macro to an action button </li></ul><ul><li>Draw Button from AutoShapes – Action Buttons </li></ul><ul><li>From Action Settings Select Run Macro </li></ul><ul><li>Right Click on Button and Select Add Text </li></ul><ul><li>Add text to Action Button </li></ul>
    44. 44. VBA –Input Box <ul><li>Hold Alt and F11 </li></ul><ul><li>Insert Module – If not there Type </li></ul><ul><ul><li>Sub YourName() </li></ul></ul><ul><ul><li>userName = InputBox(Prompt:=&quot;Type your name&quot;, _ </li></ul></ul><ul><ul><li>Title:=&quot;Input Name&quot;) </li></ul></ul><ul><ul><li>End Sub </li></ul></ul><ul><li>Run Script </li></ul><ul><ul><li>Run Menu </li></ul></ul>
    45. 45. Quiz <ul><li>See Examples </li></ul><ul><li>Create your own Quiz with: </li></ul><ul><ul><li>Interactivity </li></ul></ul><ul><ul><li>Feedback </li></ul></ul><ul><ul><li>Results </li></ul></ul><ul><ul><li>Print Report </li></ul></ul>
    46. 46. Any Questions? Thank you!!!

    ×