Reputation: 103
I'm following these instructions, and this works well.
objSlide = objSlides.Add(1, PowerPoint.PpSlideLayout.ppLayoutTitleOnly);
this code fragment creates a new slide.
But Now I want to add a picture to a presentation that has already been set up.
So my question is how do I insert a picture on slide 15, without creating a new slide 15?
Upvotes: 0
Views: 255
Reputation: 586
With reference to the example objSlide = objSlides[15]
will give you the reference to the 15th slide. The rest is the same as the example.
Upvotes: 0