Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Formatting Chart Series -- fill with gradient -- using code

$
0
0

I am trying to migrate a VB program that automates the creation of Excel and PPT charts.  My original code seems to work fine in Excel, but I am trying to format the data series in PPT and the same code does not work.

I need to change the fill color of series (bars) and apply a gradient.

In Excel (2003 and 2010):   .seriescollection(#).fill.forecolor.schemecolor = 3   'red

this does not work in PPT 2010 and I can't find this deep of a layer in the PPT Object Model (unless I am just not getting around correctly).

PPT no longer has a record macro feature so that was my stand-by to try to figure it out... not sure why this was removed but I'm sure someone had a logical reason???

Any suggestions would be greatly appreciated!!


Viewing all articles
Browse latest Browse all 2257

Trending Articles