A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
>> I think that this would be a good job for VBA. VBA should be able to cycle through each file in a directory and insert the slides into the current slide. Other than hat, I'm not sure thre is going to be n easy way.
Other than hat? Thre's a crowd?
Hey, David, did you leave out the "I'm poking this out on my iPad" disclaimer? ;-)
But Jod, David's right ... good job for VBA. Put your main presentation, the one you want to suck all the others into, and all the others in the same folder together. Pop this code into a module in the "mother ship" presentation or into another presentation, make sure the mother-ship is the active presentation, then run the code.
Option Explicit
Sub InsertAllSlides()
' Insert all slides from all presentations in the same folder as this one
' INTO this one
Dim vArray() As String
Dim x As Long
' Change "*.PPT" to "*.PPTX" or whatever if necessary:
EnumerateFiles ActivePresentation.Path & "", "*.PPT", vArray
With ActivePresentation
For x = 1 To UBound(vArray)
If Len(vArray(x)) > 0 Then
.Slides.InsertFromFile vArray(x), .Slides.Count
End If
Next
End With
End Sub
Sub EnumerateFiles(ByVal sDirectory As String, _
ByVal sFileSpec As String, _
ByRef vArray As Variant)
' collect all files matching the file spec into vArray, an array of strings
Dim sTemp As String
ReDim vArray(1 To 1)
sTemp = Dir$(sDirectory & sFileSpec)
Do While Len(sTemp) > 0
' NOT the "mother ship" ... current presentation
If sTemp <> ActivePresentation.Name Then
ReDim Preserve vArray(1 To UBound(vArray) + 1)
vArray(UBound(vArray)) = sDirectory & sTemp
End If
sTemp = Dir$
Loop
End Sub