If you're a programmer-type, you can create macros to beef up a straightforward Web- or kiosk-delivered presentation and turn it into an interactive program. A macro is a series of instructions written in the Visual Basic for Applications language (often called VBA ). With macros, you can make PowerPoint perform commands automatically, when you're not there to click a button. Best of all, you set macros to kick in when your audience performs a certain action. Here are just a few examples of the kinds of things you can do with macros:
In addition to letting your audience interact with your slideshow, you can also use macros to help streamline and control the slideshow editing process itself. Say you work for a large corporation that maintains strict guidelines for all the presentations its employees build. You can create a macro that enforces those guidelines every time someone edits a slide. Maybe your macro searches slide text for verboten phrases (like the old name of a renamed product) or formatting (like wacky font colors) and fixes them automatically. Programming in Visual Basic for Applications is too huge a topic for a book on PowerPoint. Instead, this chapter shows you what you need to do in PowerPoint to display the VBA editor, create a simple example macro, and run macros that you (or others) have programmed in VBA. It also acquaints you with the important security issues that surround macros. Note: PowerPoint puts restrictions on the things you can do with macros, but it gives a lot more latitude to the things you can do with add-ins . Add-ins are mini-programs that add useful features to PowerPoint. So depending on what you want to domaybe you want your macro to run automatically as soon as the slideshow runsyou may need to create a PowerPoint add-in. For more on add-ins, check out the box on page 423.
|