Link to home
Start Free TrialLog in
Avatar of snotnosedpuke
snotnosedpuke

asked on

how to export custom toolbar buttons from Powerpoint 2003?

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!!!
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

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
Avatar of snotnosedpuke
snotnosedpuke

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!