XlLegendPosition enumeration (Excel)

Specifies the position of the legend on a chart.

Name Value Description
xlLegendPositionBottom -4107 Below the chart.
xlLegendPositionCorner 2 In the upper-right corner of the chart border.
xlLegendPositionCustom -4161 A custom position.
xlLegendPositionLeft -4131 Left of the chart.
xlLegendPositionRight -4152 Right of the chart.
xlLegendPositionTop -4160 Above the chart.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.