ActiveChart Property Example

This example turns on the legend for the active chart.

ActiveChart.HasLegend = True