Item Method (LegendEntries Collection)
Applies To
LegendEntries collection object.
Description
Returns a single LegendEntry object from a LegendEntries collection.
Syntax
expression.Item(Index)
expression Required. An expression that returns a LegendEntries object.
Index Required Variant. The index number of the legend entry.
Example
This example changes the font for the text of the legend entry at the top of the legend (this is usually the legend for series one) in embedded chart one on Sheet1.
Worksheets("Sheet1").ChartObjects(1).Chart _
.Legend.LegendEntries.Item(1).Font.Italic = True