Reputation: 348
I have a slide deck that changes it's name daily. The source data is in several statically named Excel 2013 worksheets. It would be neater to run a macro from the PPTM but all the examples I have found for copying charts is from the XLSM side.
Is there a PowerPoint 2013 equivalent of PowerPoint.Application
? Dim sourceXL As excel.Application
gives Run-time error '424': Oject required as Excel is not recognised whereas .Application is.
Upvotes: 0
Views: 64
Reputation: 6063
Have you set a reference to Excel? In the VBE, go to the Tools menu > References, scroll down to Microsoft Excel, and check the box.
Upvotes: 1