
Modules are one of the several "containers" that can hold VBA code.
#Macros for word 2008 mac code
In the VBA editor, make sure that your presentation is highlighted in the left-hand pane.Ĭhoose Insert, Module from the menu bar to insert a new code module into your project (project = presentation in VBAspeak). Use View, Toolbars, Visual Basic then click the Visual Basic Editor button on that toolbar.Ĭhoose Tools | Macro | Visual Basic Editor to start the Visual Basic Editor. Or choose Tools, Macro, Visual Basic Editor to start the editor.Or choose View, Toolbars, Visual Basic to get shortcut buttons to the editor and for running macros.Press ALT+F11 to start PowerPoint's VBA editor.Close the options dialog box, click the Developer tab then click Visual Basic to start the editor. Or choose File | Options | Customize Ribbon and put a checkmark next to Developer in the listbox under Customize Ribbon.Or click the Office button, choose PowerPoint Options, click Popular and put a check next to Show Developer tab in Ribbon.IDE to its friends) is where you'll work with VBA/macro code in PowerPoint. The VBA editor (also called the Integrated Development Environment.
#Macros for word 2008 mac Pc


The following steps set things up so that when you open a presentation that contains macros, PowerPoint asks whether or not to disable them. You may prefer to use this mini-site I created for a VB Programming session I did at PPTLiveīefore you can run VBA code, you need to set PowerPoint's security options to permit macros to run.
#Macros for word 2008 mac how to
You'll find lots of useful snippets of VB or VBA code on the internet, but unless you know how to get the code into PowerPoint, you can't very well use it. How do I use VBA code in PowerPoint I found this PowerPoint VBA code.
