How to change an area chart series type

NatetheGreat

Active Member
Joined
Nov 18, 2013
Messages
268
I have a chart with three data series plotted on it. Series1 is a line, Series2 and Series3 are area chart series types. I have figured out how to change the forma/color of the line, but it is proving to be quite difficult for the area series.

For the line I used
Code:
ActiveChart.SeriesCollection(1).Format.Line.Weight = 2
    ActiveChart.SeriesCollection(1).Border.Color = RGB(255, 255, 0)

But when trying to adapt this for the 2nd (Area) series I try
Code:
 ActiveChart.SeriesCollection(2).Format.Line.Weight = 1
    ActiveChart.SeriesCollection(2).Border.Color = RGB(153, 204, 255)

But what this does is just colour the lines around he area rather than the entire area. I cant even begin to think how I'm going to set the transparency level !!

Please assist.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi Nate

Try:

Code:
ActiveChart.SeriesCollection(2).Format.Fill.ForeColor.RGB = RGB(153, 204, 255)
 
Upvote 0

Forum statistics

Threads
1,215,431
Messages
6,124,855
Members
449,194
Latest member
HellScout

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top