E
elbyc
I thought I'd share a solution with this group, since I've just spent
about an hour trying to figure this out.
I needed to combine multiple often-updated PowerPoint files into one
master and was hoping to find something similar to Word's master
document /sub document utility.
Unfortunately there is no such beast (although PowerPoint is set up to
do something similar with links - this only works for the Presentation
view, not printing).
My solution was to create a macro, deleting all slides and replacing
with current versions (all housed in the same directory and maintained
there).
However, if you try to record a macro, "insert slides from files" will
not work. Instead, you can use the "Insert slides from Outline" tool.
Just be sure to change the file type from Outline to All files.
Once finished, you can tweak the code in VBA (Alt+F11), but for those
who are uncomfortable or rusty in VBA, this method will get you
started.
Here's the code, for anyone who finds it useful. Be careful, the first
command removes all existing slides!
Sub CombineSlides()
'
' Macro recorded 8/24/2007 by elbyc
'delete all slides - This deletes current slides
ActiveWindow.ViewType = ppViewSlideSorter
ActivePresentation.Slides.Range.Select
ActiveWindow.Selection.SlideRange.Delete
'Insert new versions of all slides
ActivePresentation.Slides.InsertFromFile FileName:="full path and
filename here", Index:=0
ActivePresentation.Slides.InsertFromFile FileName:="full path and
filename here", Index:=1
ActivePresentation.Slides.InsertFromFile FileName:="full path and
filename here", Index:=2
End Sub
about an hour trying to figure this out.
I needed to combine multiple often-updated PowerPoint files into one
master and was hoping to find something similar to Word's master
document /sub document utility.
Unfortunately there is no such beast (although PowerPoint is set up to
do something similar with links - this only works for the Presentation
view, not printing).
My solution was to create a macro, deleting all slides and replacing
with current versions (all housed in the same directory and maintained
there).
However, if you try to record a macro, "insert slides from files" will
not work. Instead, you can use the "Insert slides from Outline" tool.
Just be sure to change the file type from Outline to All files.
Once finished, you can tweak the code in VBA (Alt+F11), but for those
who are uncomfortable or rusty in VBA, this method will get you
started.
Here's the code, for anyone who finds it useful. Be careful, the first
command removes all existing slides!
Sub CombineSlides()
'
' Macro recorded 8/24/2007 by elbyc
'delete all slides - This deletes current slides
ActiveWindow.ViewType = ppViewSlideSorter
ActivePresentation.Slides.Range.Select
ActiveWindow.Selection.SlideRange.Delete
'Insert new versions of all slides
ActivePresentation.Slides.InsertFromFile FileName:="full path and
filename here", Index:=0
ActivePresentation.Slides.InsertFromFile FileName:="full path and
filename here", Index:=1
ActivePresentation.Slides.InsertFromFile FileName:="full path and
filename here", Index:=2
End Sub