G
Guest
Hello everybody,
I'm trying to manipulate Excel Charts embedded in Power Point using VBA,
I've succedded manipulating native PPT charts but I can't figure out how to
do the same with an embedded excel chart.
I managed to add an Excel object doing this:
Dim objGrafica as Object
Set objGrafica = ActivePresentation.Slides(1).Shapes.AddOLEObject(Left:=100,
Top:=100, Width:=400#, Height:=250#, ClassName:="Excel.Chart.8",
Link:=msoFalse).OLEFormat.Object
But I don't know how to manipulate it (change its type, change the data
source, change the colours...). I tried to use this instruction:
objGrafica.ChartType = xlXYScatter
but it doesn't work.
By the way, is there a place where I could find GOOD information about VBA?
I only find pieces in the help files. I would like something like PHP or Java
documentation where you can find almost ALL the objects in one place.
I'm trying to manipulate Excel Charts embedded in Power Point using VBA,
I've succedded manipulating native PPT charts but I can't figure out how to
do the same with an embedded excel chart.
I managed to add an Excel object doing this:
Dim objGrafica as Object
Set objGrafica = ActivePresentation.Slides(1).Shapes.AddOLEObject(Left:=100,
Top:=100, Width:=400#, Height:=250#, ClassName:="Excel.Chart.8",
Link:=msoFalse).OLEFormat.Object
But I don't know how to manipulate it (change its type, change the data
source, change the colours...). I tried to use this instruction:
objGrafica.ChartType = xlXYScatter
but it doesn't work.
By the way, is there a place where I could find GOOD information about VBA?
I only find pieces in the help files. I would like something like PHP or Java
documentation where you can find almost ALL the objects in one place.