Export (0) Print
Expand All
Expand Minimize

Legend Property

Last modified: June 30, 2011

Applies to: Excel 2013 | Office 2013 | VBA

Returns a Legend object that represents the legend for the specified chart. Read-only.

This example turns on the legend for the chart and then sets the font color for the legend to blue.

myChart.HasLegend = True 
myChart.Legend.Font.ColorIndex = 5
© 2015 Microsoft