Microsoft Office PowerPoint 2007 On Demand

Macros are created using Visual Basic for Applications (VBA) code. If you add a macro to a presentation, you need to save it with a file name extension that ends with an "m" (New!), either PowerPoint Macro-Enabled Presentation (.pptm), PowerPoint Macro-Enabled Show (.ppsm), or PowerPoint Macro-Enabled Design Template (.potm). If you try to save a presentation containing a macro with a file name extension that ends with an "x" (such as .pptx, .sldx, or .potx), PowerPoint displays an alert message, restricting the operation. These PowerPoint file types are designated to be VBA code-free.

Save a Presentation with Macros

Click the Office button, and then click Save As.

Click the Save in list arrow, and then click the drive or folder where you want to save the file.

Type a presentation file name.

If necessary, click the Save as type list arrow, and then click one of the following:

  • PowerPoint Macro-Enabled Presentation. A presentation (.pptm) that contains VBA code.

  • PowerPoint Macro-Enabled Show. A presentation slide show (.ppsm) that includes preapproved macros.

  • PowerPoint Macro-Enabled Design Template. A template (.potm) that includes preapproved macros.

Click Save.

Категории