I am trying to import slides from multiple files into a single presentation.
Here is what I have in VB so far - what else do I need - I have minimal skills in this area - but I have to import 28 slides into a single presentation on a weekly basis. It would be easier to rename the files to be consistent and run a macro. Can anyone please help me?
Sub ImportAgencySlides()
Dim FileName As String
Dim Index, SlideStart, SlideEnd As Long
ActivePresentation.Slides.InsertFromFile("c:\filename1.ppt", 1, 1, 1)
End Sub
When I debug, I get Compile Error: Syntax Error
If I change it (based on MS help sites), to this format:
ActivePresentation.Slides.InsertFromFile_ "c:\filename1.ppt", 1, 1, 1
I get the following error: Method or Data Member not found
And, the file is in the path and file name described.
I also want to have it import multiple files, what would that sytax be?
Thanks for any and all help!
Kelly