Syntax

expression.LegendEntries(Index)

expression A variable that represents a Legend object.

Parameters

Name Required/Optional Data Type Description
Index Optional Variant The number of the legend entry.

Return Value
Object

Example

This example sets the font for legend entry one on Chart1.

Visual Basic for Applications
Charts("Chart1").Legend.LegendEntries(1).Font.Name = "Arial"
Change several properties of all legend entries? legend legend entries Legend Entries Method LegendEntries LegendEntries Method LegendEntries? Refer to a legend? Return one of the legend items?

See also: