Solved

how to export custom toolbar buttons from Powerpoint 2003?

Posted on 2010-09-19
4
818 Views
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!!!
0
Comment
Question by:snotnosedpuke
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
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
0
 

Author Comment

by:snotnosedpuke
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?
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 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
0
 

Author Comment

by:snotnosedpuke
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!
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I recently received a question about the creation of Computer-Based Training (CBT) that incorporates quizzes in the middle of the lesson. The intent was to keep people engaged in the content, and not to actually track students’ scores.…
Background   Certain code in VBA requires initialization, such as application events. The app initialization is often triggered by the Auto_Open sub which is a special procedure that runs when an add-in loads. More significantly, this sub does n…
This video teaches viewers how to create handouts from their slides and helps them decide how many slides to include per handout.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

734 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