Best practices for writing and maintaining PPT macros across templ

J

Jim Rambo

I am new to VBscript and PPT macros. I ordered David Marcovitz's book, but
until it arrives, I'm pretty much in the dark as to best practices for
developing reusable macros that span multiple templates and are simple to
maintain.

It seems to be a recurring theme in my group that we want to loop through
our presentations and perform a given operation on the same graphic object
for each slide, for example writing the title text or main body text on each
slide to a file. Furthermore, we may need to process presentations from
other groups using different templates.

To do this, I envision having to do something like the following:
1) create a template (for reuse on multiple presentations)
2) name and store the graphic objects on the slide/title master layouts
(possibly using a macro)
3) create new slides using the one of the layouts, or insert slides from
another presentation and reapply the layout (possibly using a macro)
4) run the slide processing operation of choice.

Does this seem like overkill, or is there a simpler, more maintainable way
to do this?

Your suggestions are greatly appreciated - Jim
 
B

Bill Foley

Actually what you need to do is to open PowerPoint, create your macros,
toolbars to run your macros, etc., then save the presentation as an add-in
(*.ppa). Set up PowerPoint to run this add-in upon opening (Tools,
"Add-ins"). Check out the following for more info:

http://www.rdpslides.com/pptfaq/FAQ00031.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top