Hi, everyone: I wrote a number of macros in one PowerPoint file with VBA. Is there way to enable another file to run those macros without importing them or open the file in which the Macros are written? Thanks a lot!
Gang
BobApril
06-11-2001, 05:49 AM
There's a couple of ways to share PowerPoint macros...the easy way is to put the macros in your "Blank Presentation.pot" file. This is the template that opens when you create a new P-Point presentation. Once they're in there, you simply make sure you open a new presentation, then you can use the macro on it, or you can open the new one AND open an old one, and use the macro on the old one by selecting "All Open Presentations" in the "Macro In" field when you run the macro.
The other way is to convert the presentation containing your macros into an Add-In. Microsoft has some fairly difficult info on doing that (difficult for a novice like me, anyway) in the Knowledge Base. It can be done, though, I have an Add-In running with about 15 macros in it. Using this method, you can even build Toolbar buttons to access the macros, and you do NOT need a blank presentation open in the background.
Good luck!
Mark Hall