script to preserve multiple templates?

T

Trigger

I was wondering if anyone would have any ideas on how to do the
following:

I've written a vbscript (asp actually) that automatically merges user
selected slides. Some of these slides are going to have different
templates, and I believe the latest version of Powerpoint does support
multiple templates within a single presentation. When a new slide is
inserted however, it seems to take on the master default template. Is
there a way I can preserve the original templates?
Thanx,

Tristan
 
T

Trigger

Uh, anyone? No-one has ever had a problem with templates? Ok forget
multiple templates: What about inserting one slide into a new blank
presentation, does anyone know how to preserve the template? It seems
to default to blank white.
Thanx in advance,

Tristan
 
T

Trigger

Thanx Shyam,
That's actually very helpfull. I was wondering, since it doesn't
seem to be possible to set a reference to the PowerPoint library in an
ASP (but it does work if I use the equivalent constant value), where
could I find the the values for:

msoFillPatterned
msoFillGradient
msoGradientTwoColors
msoGradientPresetColors
msoGradientOneColor
msoFillBackground
etc..?

Thanx,

Tristan
 
S

Shyam Pillai

Tristan,
Start PowerPoint.
Switch to VBE (Alt+F11)
Press F2 to lauch the object browser
Type the constanst to find the values.

Or
Start PowerPoint.
Switch to VBE (Alt+F11)
Activate Immediate Window (Ctrl+G)
Type:
?msoFillPatterned
The defined constant value will be displayed.

--
Regards
Shyam Pillai

Image Importer Wizard
http://www.mvps.org/skp/iiw.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