Insert from file via automation looses formatting

  • Thread starter Thread starter Tim Witort
  • Start date Start date
T

Tim Witort

I am building presentations in PowerPoint 2003 from scratch
using automation. I have a dozen or so "template" slides
which are presentations each containing a single slide. To build
the desired presentation, my program uses automation to
startup and instance of PowerPoint, creates a new presentation,
then uses the InsertFromFile method to insert certain combinations
of the "template" slides into the new presentation. The slides
are added to the new presentation, however the formatting gets
lost. When doing this interatively in PowerPoint itself, there
is a "Keep source formatting" option in the Insert From Files
dialog. Is there any way to achieve the same thing when
using automation? There is no "keep source formatting" argument
in the InsertFromFile method. Is there an option somewhere else
that can be toggled to get this to work?

Thanks for any ideas,
-- TRW
_______________________________________
t i m
a t
w i t o r t d o t c o m
_______________________________________
 
Shyam Pillai seemed to utter in
Take a look at this article:
Copy slides with source formatting
http://skp.mvps.org/pptxp001.htm

Thanks, Shyam. That was perfect. Rather than using the InsertFromFile
method, I switched to Copy and Paste and applying the Design and ColorScheme
of the pasted slide.

-- TRW
_______________________________________
t i m
a t
w i t o r t d o t c o m
_______________________________________
 
Back
Top