how to export custom toolbar buttons from Powerpoint 2003?

Posted on 2010-09-19
Medium Priority
Last Modified: 2012-05-10
My company has built several custom toolbars into the standard Powerpoint image that I would like to be able to export, to share with a friend who does not work at my company.  How can this be done?

I know about the PPT11.pcb file, which stores the toolbar configuration.  When I copied that over, I got all excited, thinking that it would include the functionality/code for the custom buttons... but now I have the correct toolbars and no functionality sitting underneath the custom buttons.  When I press the non-standard buttons on the toolbar nothing happens.

So where does that code reside?  How can I copy it over to my friend's PC so that they can take advantage of the custom functionality?  

Desperate for help on this!!!
Question by:snotnosedpuke
  • 2
  • 2
LVL 50
ID: 33713061
Hello snotnosedpuke (nice handle),

You will probably find the macros for the toolbar buttons when you open your company presentation and hit Alt-F11. This will open the Visual Basic Editor, where you will probably find modules with subroutines that execute when the toolbar buttons are clicked.

You can right-click on a module and select "Export File". This will save it as a *.bas file that you can copy to another computer. There, you can open the VBE and import a module.

Does that help?

cheers, teylyn

Author Comment

ID: 33713106
Thanks for the idea.  I have tried this in a few cases and I don't see any VB underneath the buttons.  I wonder if it's stored in the custom DLL?

I'm (obviously) not a coder, so I apologize for the unsophistication of my questions and language.  

I found a company-specific directory in the Program Files\Microsoft Office\ directory, which includes (among other things) a custom DLL file.  I don't have the right tools to read the file, but scanning it in Notepad gives me the impression that this is a critical configuration file.

So I copied that to my friend's PC, and it doesn't seem to do anything.  Two questions:
1) Is my intuition right, that this file includes the elusive code?
2) If so, how do I get my friend's PC to run the DLL (or whatever the technical term is), so that Powerpoint executes the code when those custom buttons are pressed?
LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 33713144
Maybe you can ask your company to provide your friend with the complete installation files for the custom toolbars. If they don't mind that your friend uses software that your company probably paid for (either an off the shelf product or custom development), they'll be happy to share the software. If they don't want to share it, what you're attempting is basically illegal.

cheers, teylyn

Author Comment

ID: 33713162
I suspect you're right about them not wanting to share the code.  I registered the DLL and it now works.  

Appreciate your help in thinking through this with me!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes how to make a simple, pseudo-random number generator in Microsoft PowerPoint. The code checks the generated numbers against a list of numbers already generated to prevent duplication. We used this as a youth group activity but…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The viewer will learn how to edit the master slide. They will also learn how to combine multiple themes into one master slide to use them in their presentation.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question