New to pivot charts and their associated vba. But I'm attempting to change the colours of my bar graph depending on which province they belong to. I've been unable to use conditional formatting in a chart so I attempted a macro. Since I can't upload pictures my table looks a bit like this:
Prov/Name/Period/Value
ON: Name1, Dec14, 100
Name2, Dec13, 200
BC: Name1, Dec14, 400
Name2, Dec13, 600
SK: Name1, Dec14, 100
Name2, Dec13, 2000
My pivot chart displays this data in a bar graph with each bar being the same colour. I'd like all series that fall under the BC row field to display yellow to highlight them against the rest. So far I've been doing this by hand, and I've attempted to make a vba macro, but don't even know where to start in referencing the Prov row field of the chart.