script to preserve multiple templates?

  • Thread starter Thread starter Trigger
  • Start date Start date
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
 
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
 
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
 
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
 
Back
Top