Good morning
I have been developing a code to copy charts from excel and paste to PowerPoint from script on this site and the net.
I think I have the script OK to the point of creating a PPT file however the script fails at the point of activating Powerpoint.
I have used two options:
- AppActivate ("Microsoft PowerPoint")
and, - PowPntApp.Activate
The variables I have used are:
Dim newPowerPoint As PowerPoint.Application
Dim activeSlide As PowerPoint.Slide
Dim cht As Excel.ChartObject
Could you advise the correct syntax please. Many thanks.
Mel
I have been developing a code to copy charts from excel and paste to PowerPoint from script on this site and the net.
I think I have the script OK to the point of creating a PPT file however the script fails at the point of activating Powerpoint.
I have used two options:
- AppActivate ("Microsoft PowerPoint")
and, - PowPntApp.Activate
The variables I have used are:
Dim newPowerPoint As PowerPoint.Application
Dim activeSlide As PowerPoint.Slide
Dim cht As Excel.ChartObject
Could you advise the correct syntax please. Many thanks.
Mel