PPT2000: Sample Visual Basic Code for Creating Toolbars in an Add-In (296897)
The information in this article applies to:
- Microsoft PowerPoint 2000
This article was previously published under Q296897 SUMMARY
This article provides Microsoft Visual Basic for Applications sample macros that demonstrate how to add and remove CommandBar and CommandBar Buttons objects for use with an add-in.
When you create an add-in, you usually need to expose the procedures and the functions of the add-in to the user. There are several ways to do this:
- Add CommandBar Buttons (toolbar buttons), as described in this article.
- Add menu items (not described in this article).
- Create an event driven add-in that responds to user interaction within the active presentation (not described in this article).
If you create a PowerPoint add-in that exposes its procedures and functions through CommandBar objects or menu items (during the Auto_Open procedure), it is important that you also remove the added CommandBar objects and menu items when your add-in is unloaded (during the Auto_Close procedure).
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
222685 PPT2000: How to Auto Load a PowerPoint Add-In
222737 PPT2000: How to Create a PowerPoint Add-In
234184 PPT2000: How to Create Application Level Event Handlers
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbSample KB296897 |
---|
|