Sub main()
Dim objPresentaion As Presentation
Dim objSlide As Slide
Dim objImageBox As Shape
Set objPresentaion = ActivePresentation
Dim fPath As String, fName As String
fPath = "G:\Gallery\수업\"
fName = Dir(fPath & "*.jpg")
Do While Len(fName) > 0
ActivePresentation.Slides(ActivePresentation.Slides.Count).Duplicate
Set objSlide = objPresentaion.Slides.Item(ActivePresentation.Slides.Count - 1)
Set objImageBox = objSlide.Shapes.AddPicture(fPath & fName, msoCTrue, msoCTrue, 0, 0)
fName = Dir()
Loop
End Sub