Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
True if the chart has a legend. Read/write Boolean.
Syntax
expression.HasLegend
expression A variable that represents a Chart object.
Example
This example turns on the legend for Chart1, and then sets the legend font color to blue.
With Charts("Chart1")
.HasLegend = True
.Legend.Font.ColorIndex = 5
End With
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.