Share via


Legend.Position Property

Excel Developer Reference

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.

Visual Basic for Applications
  Charts(1).Legend.Position = xlLegendPositionBottom

See Also