Adding Slides to an Existing PPT Presentation

  • Below is code that will title slides in a powerpoint presentation, from an a list in an excel spreadsheet. Every time this code is run, a new PPT is created; what I would like to happen is for new slides to be added in an existing PPT presentation (Active Presentation) instead of a creating a new presentation. Any help is appreciated since i'm not a vba guru yet. Thanks!


  • Re: Adding Slides to an Existing PPT Presentation


    just replace this


    Code
    1. set PPPres = pp.Presentations.Add


    with this



    Code
    1. Set PPPres = pp.ActivePresentation


    and ensure the ppt is active while running the macro