April 2006
Beginner
1114 pages
98h 16m
English
plotarea.Fill
Returns the ChartFillFormat object used to control the background of the plot area. The following code applies a built-in fill to the plot area:
Sub ApplyPlotAreaFill( )
Dim chrt As Chart, pa As PlotArea
' Get the chart.
Set chrt = ActiveChart
' Make it a line chart
chrt.ChartType = xlLine
' Get the plot area.
Set pa = chrt.PlotArea
' Set a fill texture.
pa.Fill.Visible = True
pa.Fill.PresetTextured msoTextureCanvas
End SubRead now
Unlock full access