I have a macro that copies tables and images from my Excel workbook and pastes them as images into powerpoint. All I want to do is add something to actually open the powerpoint presentation from Excel, but I am getting an error that says "ActiveX cannot create the object". Can anyone tell me what I need to add or do to make this work?
Code:
Dim PPApp As PowerPoint.Application
Dim PPPres As PowerPoint.Presentation
Dim PPSlide As PowerPoint.Slide
Presentations.Open Filename:="C:\My Documents\pres1.pptm", ReadOnly:=msoFalse