Share via


LegendEntries Method [Excel 2003 VBA Language Reference]

Returns an object that represents either a single legend entry (a LegendEntry object) or a collection of legend entries (a LegendEntries object) for the legend.

expression**.LegendEntries(Index)**

expression Required. An expression that returns a Legend object.

Index   Optional Variant. 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"

Applies to | Legend Object