||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer
Legend Object (Word)
Represents the legend in a chart. Each chart can have only one legend.
The Legend object contains one or more LegendEntry objects; each LegendEntry object contains a LegendKey object.
The chart legend is not visible unless the HasLegend property is True. If this property is False, properties and methods of the Legend object will fail.
Use the Legend property to return the Legend object. The following example sets the font style for the legend of the first chart in the active document to bold.
If .HasChart Then
.Chart.Legend.Font.Bold = True