Applies To
Legend Object.
Description
Accessor. Returns an object that represents a single legend entry (a LegendEntry object, Syntax 1) or a collection of legend entries (a LegendEntries object, Syntax 2) for the legend.
Syntax 1
object.LegendEntries(index)
Syntax 2
object.LegendEntries
object
Required. The Legend object.
index
Required for Syntax 1. Specifies the number of the legend entry.
Example
This example sets the font for legend entry one on Chart1.
Charts("Chart1").Legend.LegendEntries(1).Font.Name = "Arial"