bobbybobbertson
Programmer
I am not a programmer, but am trying to write a macro.
Is there as VB function to find all the files in a directory and put them in a variable (array) that I can then loop through?
I think this would be easy for a programmer. Can you help with the code?
1) Find .ppt files in directory
(subdirectories as well would be nice)
2) begin loop
3) open file
4) ActivePresentation.Slides.InsertFromFile "myfile"
5) close file
6) end loop
Is there as VB function to find all the files in a directory and put them in a variable (array) that I can then loop through?
I think this would be easy for a programmer. Can you help with the code?
1) Find .ppt files in directory
(subdirectories as well would be nice)
2) begin loop
3) open file
4) ActivePresentation.Slides.InsertFromFile "myfile"
5) close file
6) end loop