Hello all,
I am using the InsertFromFile method to copy single slides from one Powerpoint presentation to a blank presentation.
I open a blank presentation then I loop through a list of ppt files like this:
mySlides = objPresentation.Slides;
for(i=1; i LTE formQTY; i=i+1){
theSlide = docPath & "ppt\" & i & ".ppt";
newSlide = mySlides.InsertFromFile(theSlide,i-1,1,1);
}
Then I saveAs to get a new file
// Save a presentation
newpresentation = objPresentation.SaveAS(docPath & "ppt\" & uniqueName & ".ppt",11, True);
The new file has all of the graphics and the text of the other slides but they are not formatted in the same way.
Is there a way to use the InsertFromFile method and preserve the formatting from the original slides?
Thanks for your help,
Joe Simes
I am using the InsertFromFile method to copy single slides from one Powerpoint presentation to a blank presentation.
I open a blank presentation then I loop through a list of ppt files like this:
mySlides = objPresentation.Slides;
for(i=1; i LTE formQTY; i=i+1){
theSlide = docPath & "ppt\" & i & ".ppt";
newSlide = mySlides.InsertFromFile(theSlide,i-1,1,1);
}
Then I saveAs to get a new file
// Save a presentation
newpresentation = objPresentation.SaveAS(docPath & "ppt\" & uniqueName & ".ppt",11, True);
The new file has all of the graphics and the text of the other slides but they are not formatted in the same way.
Is there a way to use the InsertFromFile method and preserve the formatting from the original slides?
Thanks for your help,
Joe Simes