In VBA, you may want to create a new presentation with the same slide layouts as an existing presentation or template.
But if we look at the Slide Master, we can see there is a layout for each kind of slide.
You could customize the Slide Master and then base all presentations off this.
In VBA, we'll add a presentation with Presentations.Add().
This will be the new presentation that should have the same layouts as an already existing presentation or template.
At this point your new presentation has the default slide layouts.
Now call ApplyTemplate on the new presentation so it will use the same slide layouts as the one you want to mimick.
The path argument is an existing presentation or template to copy from.
For demonstration purposes, let's add a slide and see that it uses the slide layout from the template.
dim s as slide
set s = p.Slides.Add(1 (the index), ppLayoutTwoColumnText (the type of slide))
See that the slide we added has the layout from the presentation we want to copy?