Partager via


Legend.Position Property (Excel)

Returns or sets a XlLegendPosition value that represents the position of the legend on the chart.

Syntax

expression .Position

expression A variable that represents a Legend object.

Example

This example moves the chart legend to the bottom of the chart.

Charts(1).Legend.Position = xlLegendPositionBottom

See Also

Concepts

Legend Object

Legend Object Members