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?
When I debug, I get Compile Error: Syntax ErrorSub ImportAgencySlides() Dim FileName As String Dim Index, SlideStart, SlideEnd As Long ActivePresentation.Slides.InsertFromFile("c:\filename1.ppt", 1, 1, 1) End Sub
If I change it (based on MS help sites), to this format:
I get the following error: Method or Data Member not foundActivePresentation.Slides.InsertFromFile_ "c:\filename1.ppt", 1, 1, 1
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





Reply With Quote