Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / November 2006

Tip: Looking for answers? Try searching our database.

Insert from file via automation looses formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Witort - 13 Nov 2006 19:12 GMT
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 - 14 Nov 2006 04:38 GMT
Take a look at this article:
Copy slides with source formatting
http://skp.mvps.org/pptxp001.htm

Signature

Regards,
Shyam Pillai

Animation Carbon
http://www.animationcarbon.com

>I am building presentations in PowerPoint 2003 from scratch
> using automation.  I have a dozen or so "template" slides
[quoted text clipped - 18 lines]
> w i t o r t   d o t    c o m
> _______________________________________
Tim Witort - 14 Nov 2006 18:35 GMT
> 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
_______________________________________
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.