How to Write a Macro in PowerPoint 2007
Your Microsoft PowerPoint 2007 software can do a lot more than create and display visual presentations. Macros are input commands or functions that act as shortcuts to multiple functions. After you place the HTML code into the Visual Basic Editor, you can choose to use the commands by clicking on their respective buttons on the main toolbar. With more than 200 commands, users can create a simple macro in PowerPoint to automate a dreary task.
Instructions
-
-
1
Click the "Microsoft Office Button" at the top-left corner of the PowerPoint menu. Click "PowerPoint Options," and then click "Popular."
-
2
Click the "Show Developer Tab In the Ribbon" check box under the "Top Options for Working with PowerPoint" heading. Click "OK" to continue.
-
-
3
Save your macro document by clicking the "Microsoft Office Button" and then clicking "Save As." Under the "Save As Type" heading, click the scroll bar and then choose the "PowerPoint Macro Enable Presentation" option. Choose a destination for the file, and then click "Save."
-
4
Press the "Developer" tab on the main menu, and then click "Macros" under the "Code" heading.
-
5
Name your macro, and then press "Create." A Visual Basic Editor window will appear.
-
6
Write in your macro code. Ignore the green text that says "This Macro Will...." Different commands equal different results. For example, "arctan(n)/Math Functions" allows you to automatically take the arc tangent of a highlighted equation. "Beep/Miscellaneous Macro Commands" sounds a short sound. Input the code that you want to by searching for the code online and copying and pasting said code into the provided text box.
-
7
Save the commands and presentation by inputting "Active Presentation.SaveAs.C: (the name of the file).html."
-
8
Type a comma at the end of the quotation, and then select the "ppSaveAsHTML" option from the scroll bar that appears.
-
9
Input another comma, and then select "MSO True." Click "File" and "Save" to save the macro command and complete the writing for the macro code.
-
1