I want to add sides in existing PowerPoint but getting an error as ActiveX component can't create object.
ActiveX component can't create object
Dim p As PowerPoint.Presentation Set pres1 = Presentations.Add() p.ApplyTemplate "D:New 2021 templatePPT TEMPLATE 2021 widescreen-2.pptx" Dim s As Slide Set s = p.Slides.AddSlide(2, pptLayout)
2.1m questions
2.1m answers
60 comments
57.0k users