Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office PowerPoint
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Add a frequently used macro to a toolbar in PowerPoint
 
Applies to
Microsoft Office PowerPoint® 2003
Microsoft PowerPoint® 2002

Problem

I created a Microsoft Visual Basic® for Applications macro that I often use when creating new presentations, but every time I want to use this macro, I have to copy it into my presentation or run the macro from the Tools menu.

Solution

To add a button for a macro to a toolbar, follow these steps:

  1. Open the presentation that contains the macro. If you have just added a macro to your current presentation, save your presentation. For this procedure to work, your file must be saved before you create the button.
  2. On the Tools menu, click Customize.
  3. Click the Commands tab, and then under Categories, click Macros.
  4. In the Commands list, drag the name of your macro to one of your toolbars. This adds a button to the toolbar to run the macro.
  5. Click Close.

 Note   Microsoft PowerPoint stores macros in presentations. When you click this button, the presentation that contains the macro opens in the foreground. If you delete or rename the presentation that contains the macro, the button stops working.

See Also

Change a picture on a button

Delete a button or menu command

Restore original settings for buttons, commands, or toolbars

Get Office 2007
Get Office 2007
advertisement